summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-12 19:06:57 +0200
committerGravatar Martin Szulecki2020-06-14 22:21:04 +0200
commit01752b5dcb825910f802344b70d22c7a708ac33d (patch)
treeca6ef74d8c55bf6533d710b00ab73ed4f9a7a2bb /src/Makefile.am
parent27ff99b5eef881775ec669baad5ab670d7ff9fa4 (diff)
downloadlibirecovery-01752b5dcb825910f802344b70d22c7a708ac33d.tar.gz
libirecovery-01752b5dcb825910f802344b70d22c7a708ac33d.tar.bz2
Add API version to library and pkgconfig file for proper linking
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 538c2ca..06a6374 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,16 +9,16 @@ AM_LDFLAGS = \
$(GLOBAL_LDFLAGS) \
$(libusb_LIBS)
-lib_LTLIBRARIES = libirecovery.la
-libirecovery_la_CFLAGS = $(AM_CFLAGS)
-libirecovery_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined
-libirecovery_la_SOURCES = \
+lib_LTLIBRARIES = libirecovery-1.0.la
+libirecovery_1_0_la_CFLAGS = $(AM_CFLAGS)
+libirecovery_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined
+libirecovery_1_0_la_SOURCES = \
libirecovery.c \
utils.c utils.h \
thread.c thread.h
if WIN32
-libirecovery_la_LDFLAGS += -avoid-version
+libirecovery_1_0_la_LDFLAGS += -avoid-version
endif
pkgconfigdir = $(libdir)/pkgconfig