build: Add GUPnP libraries to Libs.private in pkg-config file
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Mon, 28 Oct 2013 17:53:29 +0000 (17:53 +0000)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 29 Oct 2013 13:47:31 +0000 (13:47 +0000)
They’re private dependencies which are needed on the linker command line when
linking statically against libnice.

https://bugs.freedesktop.org/show_bug.cgi?id=70965

nice/nice.pc.in

index 2a8800f..f0000fa 100644 (file)
@@ -8,5 +8,6 @@ Description: ICE library
 Requires: glib-2.0 >= 2.10.0
 Version: @VERSION@
 Libs: -L${libdir} -lnice @GLIB_LIBS@
+Libs.private: @GUPNP_LIBS@
 Cflags: @GLIB_CFLAGS@ -I${includedir} -I${includedir}/nice