void-packages/srcpkgs/tidy5/patches/link-dynlib.patch

12 lines
331 B
Diff
Raw Normal View History

2015-06-29 11:41:27 +00:00
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -157,7 +157,7 @@
set(name ${LIB_NAME})
set ( BINDIR console )
add_executable( ${name} ${BINDIR}/tidy.c )
-target_link_libraries( ${name} ${add_LIBS} )
+target_link_libraries( ${name} tidy-share )
if (MSVC)
set_target_properties( ${name} PROPERTIES DEBUG_POSTFIX d )
endif ()