diff options
author | Nikias Bassen <nikias@gmx.li> | 2020-06-13 03:48:31 +0200 |
---|---|---|
committer | Nikias Bassen <nikias@gmx.li> | 2020-06-13 03:48:31 +0200 |
commit | f3fd85522cb45cb25672f13a63ca84433734756d (patch) | |
tree | 932b3fdadaa1a5b24c80d4be742ae11e937a1a75 | |
parent | 97f7d8a0a7b767f0411c1322638fb0c365d488e9 (diff) | |
download | libideviceactivation-pkgconfig.tar.gz |
Add API version to library and pkgconfig file for proper linkingpkgconfig
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/libideviceactivation-1.0.pc.in | 2 | ||||
-rw-r--r-- | tools/Makefile.am | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 573049c..4c3faca 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,13 +15,13 @@ AM_LDFLAGS = \ $(libcurl_LIBS) \ $(libxml2_LIBS) -lib_LTLIBRARIES = libideviceactivation.la -libideviceactivation_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVATION_SO_VERSION) -no-undefined -libideviceactivation_la_SOURCES = \ +lib_LTLIBRARIES = libideviceactivation-1.0.la +libideviceactivation_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIDEVICEACTIVATION_SO_VERSION) -no-undefined +libideviceactivation_1_0_la_SOURCES = \ activation.c if WIN32 -libideviceactivation_la_LDFLAGS += -avoid-version +libideviceactivation_1_0_la_LDFLAGS += -avoid-version endif pkgconfigdir = $(libdir)/pkgconfig diff --git a/src/libideviceactivation-1.0.pc.in b/src/libideviceactivation-1.0.pc.in index 27bb950..d15b4d7 100644 --- a/src/libideviceactivation-1.0.pc.in +++ b/src/libideviceactivation-1.0.pc.in @@ -6,7 +6,7 @@ includedir=@includedir@ Name: @PACKAGE_NAME@ Description: A library to handle activation and deactivation of iOS devices. Version: @PACKAGE_VERSION@ -Libs: -L${libdir} -lideviceactivation +Libs: -L${libdir} -lideviceactivation-1.0 Cflags: -I${includedir} Requires: libplist-2.0 >= @LIBPLIST_VERSION@ libimobiledevice-1.0 >= @LIBIMOBILEDEVICE_VERSION@ Requires.private: libcurl >= @LIBCURL_VERSION@ libxml-2.0 >= @LIBXML2_VERSION@ diff --git a/tools/Makefile.am b/tools/Makefile.am index e04c66b..f440a08 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -16,4 +16,4 @@ bin_PROGRAMS = ideviceactivation ideviceactivation_SOURCES = ideviceactivation.c ideviceactivation_CFLAGS = $(AM_CFLAGS) ideviceactivation_LDFLAGS = $(AM_LDFLAGS) -ideviceactivation_LDADD = $(top_builddir)/src/libideviceactivation.la +ideviceactivation_LDADD = $(top_builddir)/src/libideviceactivation-1.0.la |