diff options
author | Nikias Bassen | 2020-06-13 03:44:32 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-14 23:25:37 +0200 |
commit | 96cf00b7291f8dcf3a09dd427d3933a4865de546 (patch) | |
tree | fede552f229dd1b2294356a4ba89f9228c98838a /src/Makefile.am | |
parent | 13de0244fdf20ba1abc7361140f159d00d9067dd (diff) | |
download | libusbmuxd-96cf00b7291f8dcf3a09dd427d3933a4865de546.tar.gz libusbmuxd-96cf00b7291f8dcf3a09dd427d3933a4865de546.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 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 90057aa..227a5c0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,14 +3,14 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/common AM_CFLAGS = $(GLOBAL_CFLAGS) $(libplist_CFLAGS) AM_LDFLAGS = $(GLOBAL_LIBS) $(libplist_LIBS) -lib_LTLIBRARIES = libusbmuxd.la -libusbmuxd_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBUSBMUXD_SO_VERSION) -no-undefined -libusbmuxd_la_LIBADD = $(top_builddir)/common/libinternalcommon.la -libusbmuxd_la_SOURCES = libusbmuxd.c +lib_LTLIBRARIES = libusbmuxd-2.0.la +libusbmuxd_2_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBUSBMUXD_SO_VERSION) -no-undefined +libusbmuxd_2_0_la_LIBADD = $(top_builddir)/common/libinternalcommon.la +libusbmuxd_2_0_la_SOURCES = libusbmuxd.c if WIN32 -libusbmuxd_la_LDFLAGS += -avoid-version -static-libgcc -libusbmuxd_la_LIBADD += -lws2_32 +libusbmuxd_2_0_la_LDFLAGS += -avoid-version -static-libgcc +libusbmuxd_2_0_la_LIBADD += -lws2_32 endif pkgconfigdir = $(libdir)/pkgconfig |