summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-06-13 03:48:31 +0200
committerGravatar Martin Szulecki2020-06-14 23:39:34 +0200
commit7f618a50bc3ddafbe38559b39d10e7af96765872 (patch)
tree25aa967a1435d607309205725996ec0589b685f7 /src
parent6dc79ddc11a97a2a684d6b5b6ebcd751f8609188 (diff)
downloadlibideviceactivation-7f618a50bc3ddafbe38559b39d10e7af96765872.tar.gz
libideviceactivation-7f618a50bc3ddafbe38559b39d10e7af96765872.tar.bz2
Add API version to library and pkgconfig file for proper linking
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/libideviceactivation-1.0.pc.in2
2 files changed, 5 insertions, 5 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@