diff options
author | Nikias Bassen | 2020-06-13 03:30:05 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-14 23:18:39 +0200 |
commit | eff97404bd3ca5954a100a68705474956f1a89dc (patch) | |
tree | 7ffd6f1b0d4fb29f43ffb1c7f9cbeaaa5cdd0790 /src/Makefile.am | |
parent | 4bbbd7f8d5043366a8f7c532a118431013635153 (diff) | |
download | libplist-eff97404bd3ca5954a100a68705474956f1a89dc.tar.gz libplist-eff97404bd3ca5954a100a68705474956f1a89dc.tar.bz2 |
Add API version to library and pkgconfig file for proper linking
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 02b0478..6583add 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,12 +7,12 @@ AM_CFLAGS = $(GLOBAL_CFLAGS) AM_LDFLAGS = $(GLOBAL_LDFLAGS) lib_LTLIBRARIES = \ - libplist.la \ - libplist++.la + libplist-2.0.la \ + libplist++-2.0.la -libplist_la_LIBADD = $(top_builddir)/libcnary/libcnary.la -libplist_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined -libplist_la_SOURCES = \ +libplist_2_0_la_LIBADD = $(top_builddir)/libcnary/libcnary.la +libplist_2_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined +libplist_2_0_la_SOURCES = \ base64.c base64.h \ bytearray.c bytearray.h \ strbuf.h \ @@ -24,9 +24,9 @@ libplist_la_SOURCES = \ bplist.c \ plist.c plist.h -libplist___la_LIBADD = libplist.la -libplist___la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined -libplist___la_SOURCES = \ +libplist___2_0_la_LIBADD = libplist-2.0.la +libplist___2_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBPLIST_SO_VERSION) -no-undefined +libplist___2_0_la_SOURCES = \ Node.cpp \ Structure.cpp \ Array.cpp \ @@ -53,8 +53,8 @@ libplist___la_SOURCES = \ $(top_srcdir)/include/plist/Uid.h if WIN32 -libplist_la_LDFLAGS += -avoid-version -static-libgcc -libplist___la_LDFLAGS += -avoid-version -static-libgcc +libplist_2_0_la_LDFLAGS += -avoid-version -static-libgcc +libplist___2_0_la_LDFLAGS += -avoid-version -static-libgcc endif pkgconfigdir = $(libdir)/pkgconfig |