summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libusbmuxd-2.0.pc.in11
2 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 38b137b..90057aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,3 +12,6 @@ if WIN32
libusbmuxd_la_LDFLAGS += -avoid-version -static-libgcc
libusbmuxd_la_LIBADD += -lws2_32
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libusbmuxd-2.0.pc
diff --git a/src/libusbmuxd-2.0.pc.in b/src/libusbmuxd-2.0.pc.in
new file mode 100644
index 0000000..3385bc9
--- /dev/null
+++ b/src/libusbmuxd-2.0.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: A library to communicate with the usbmux daemon
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lusbmuxd
+Cflags: -I${includedir}
+Requires.private: libplist >= @LIBPLIST_VERSION@ \ No newline at end of file