]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.pc.in
prevent the sr_driver_list section to be dropped with static linking
[libsigrok.git] / libsigrok.pc.in
index 219f7c3ba00322096de835b7df817f01a7929a14..eb4b7cf8779c85e932efd3012b2c57dafebd788a 100644 (file)
@@ -8,8 +8,7 @@ Description: Backend library of the sigrok logic analyzer software
 URL: http://www.sigrok.org
 Requires: glib-2.0
 Requires.private: @SR_PKGLIBS@
-Version: @VERSION@
-Libs: -L${libdir} -lsigrok
-Libs.private: -lm
+Version: @SR_PACKAGE_VERSION@
+Libs: -L${libdir} -Wl,--whole-archive -lsigrok -Wl,--no-whole-archive
+Libs.private: @SR_EXTRA_LIBS@
 Cflags: -I${includedir}
-