summaryrefslogtreecommitdiff
path: root/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch')
-rw-r--r--community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch
new file mode 100644
index 000000000..05317541d
--- /dev/null
+++ b/community/canorus/0006-Add-lz-and-lpthread-to-linker-flags.patch
@@ -0,0 +1,11 @@
+--- canorus-0.7.R1002.orig/src/CMakeLists.txt 2009-03-27 05:25:52.000000000 -0500
++++ canorus-0.7.R1002/src/CMakeLists.txt 2012-11-15 06:26:41.884594717 -0500
+@@ -600,7 +600,7 @@
+ # command. Never remove that line :-)
+ # Add ${QT_QTTEST_LIBRARY} below to add the Qt Test library as well
+ # Add ${POPPLERQT4_LIBRARY} ${POPPLER_LIBRARY} to reactivate poppler libraries
+-TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} )
++TARGET_LINK_LIBRARIES(canorus ${QT_LIBRARIES} ${RUBY_LIBRARY} ${PYTHON_LIBRARY} -lz -lpthread)
+
+ ############################
+ # RtMIDI Library additions #