]> sigrok.org Git - libsigrok.git/commitdiff
prevent the sr_driver_list section to be dropped with static linking
authorAurelien Jacobs <redacted>
Thu, 19 May 2016 14:25:14 +0000 (16:25 +0200)
committerUwe Hermann <redacted>
Thu, 19 May 2016 16:28:00 +0000 (18:28 +0200)
libsigrok.pc.in

index 791e3f0333b7aa180e2da457fa975b02a0151c95..eb4b7cf8779c85e932efd3012b2c57dafebd788a 100644 (file)
@@ -9,6 +9,6 @@ URL: http://www.sigrok.org
 Requires: glib-2.0
 Requires.private: @SR_PKGLIBS@
 Version: @SR_PACKAGE_VERSION@
-Libs: -L${libdir} -lsigrok
+Libs: -L${libdir} -Wl,--whole-archive -lsigrok -Wl,--no-whole-archive
 Libs.private: @SR_EXTRA_LIBS@
 Cflags: -I${includedir}