diff options
author | Nikias Bassen | 2020-06-08 23:39:25 +0200 |
---|---|---|
committer | Nikias Bassen | 2020-06-08 23:39:25 +0200 |
commit | 60563619921981bbc76ffc4647f89542d3b3f107 (patch) | |
tree | f1690d09eb057d12b88c3e41ab399938b1fd8a6e /src | |
parent | 11771bf25b2fce2b0f226658388c4100871e5d9d (diff) | |
download | libusbmuxd-60563619921981bbc76ffc4647f89542d3b3f107.tar.gz libusbmuxd-60563619921981bbc76ffc4647f89542d3b3f107.tar.bz2 |
Move pkg-config file into src dir and rename it to include major version as standard recommends
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/libusbmuxd-2.0.pc.in | 11 |
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 |