]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.pc.in
detect the appropriate link flag for retaining all objects of static lib
[libsigrok.git] / libsigrok.pc.in
index be0c9c1109f07f769b8885bc22a7a92d17965083..47ac88015a4d031c38fa4b53f80fc8ff8a09cb16 100644 (file)
@@ -6,10 +6,9 @@ includedir=@includedir@
 Name: libsigrok
 Description: Backend library of the sigrok logic analyzer software
 URL: http://www.sigrok.org
-Requires:
-Requires.private: @LIBSIGROK_PKGLIBS@
-Version: @VERSION@
-Libs: -L${libdir} -lsigrok
-Libs.private:
+Requires: glib-2.0
+Requires.private: @SR_PKGLIBS@
+Version: @SR_PACKAGE_VERSION@
+Libs: -L${libdir} @SR_LINK_BEFORE_LIB@ -lsigrok @SR_LINK_AFTER_LIB@
+Libs.private: @SR_EXTRA_LIBS@
 Cflags: -I${includedir}
-