Permalink
Browse files

build: Add a Libraries variable in all pkg-config files

This allows consumers to make their private copy of the assemblies they
need, as they're not installed in the GAC.
  • Loading branch information...
1 parent 9490df6 commit 6eaa283f56721249f81cdb43ac5c395b380dfff1 @bl8 bl8 committed Feb 13, 2012
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/Mono.Ssdp.dll
+
Name: Mono.Ssdp
Description: Mono.Ssdp
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/Mono.Ssdp.dll
+Libs: -r:${assemblies_dir}/Mono.Ssdp.dll
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/MSMediaServerRegistrar1.dll
+
Name: Mono.Upnp.Dcp.MSMediaReceiverRegistrar1
Description: Mono.Upnp.Dcp.MSMediaReceiverRegistrar1
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/MSMediaServerRegistrar1.dll
+Libs: -r:${assemblies_dir}/MSMediaServerRegistrar1.dll
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.FileSystem.dll
+
Name: Mono.Upnp.Dcp.MediaServer1.FileSystem
Description: Mono.Upnp.Dcp.MediaServer1.FileSystem
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/Mono.Upnp.Dcp.MediaServer1.FileSystem.dll
+Libs: -r:${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.FileSystem.dll
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.GtkClient.dll
+
Name: Mono.Upnp.Dcp.MediaServer1.GtkClient
Description: Mono.Upnp.Dcp.MediaServer1.GtkClient
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/Mono.Upnp.Dcp.MediaServer1.GtkClient.dll
+Libs: -r:${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.GtkClient.dll
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.dll
+
Name: Mono.Upnp.Dcp.MediaServer1
Description: Mono.Upnp.Dcp.MediaServer1
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/Mono.Upnp.Dcp.MediaServer1.dll
+Libs: -r:${assemblies_dir}/Mono.Upnp.Dcp.MediaServer1.dll
@@ -1,6 +1,9 @@
+assemblies_dir=@expanded_libdir@/@PACKAGE@
+Libraries=${assemblies_dir}/Mono.Upnp.dll
+
Name: Mono.Upnp
Description: Mono.Upnp
Version: 0.1
Requires:
-Libs: -r:@expanded_libdir@/@PACKAGE@/Mono.Upnp.dll
+Libs: -r:${assemblies_dir}/Mono.Upnp.dll

0 comments on commit 6eaa283

Please sign in to comment.