diff options
author | Martin Szulecki | 2013-09-26 12:29:34 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-09-26 12:29:34 +0200 |
commit | 2294d3f4b7b3a65d16241c701d3b0fc93dea7e26 (patch) | |
tree | 2362b1b6f30eb5ab23750668d2c27d61ac4f6f6c /src/Makefile.am | |
parent | ff13ec61a057dd5b2dc225992eec9a0d275944c9 (diff) | |
download | libirecovery-2294d3f4b7b3a65d16241c701d3b0fc93dea7e26.tar.gz libirecovery-2294d3f4b7b3a65d16241c701d3b0fc93dea7e26.tar.bz2 |
Clean up and update build system files
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index ae0b2d5..4316454 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -AM_CFLAGS = $(LIBIRECOVERY_CFLAGS) -AM_LDFLAGS = $(LIBIRECOVERY_LDFLAGS) -AM_LIBS = $(LIBIRECOVERY_LIBS) +AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusb_CFLAGS) +AM_LDFLAGS = $(libusb_LIBS) $(LIBIRECOVERYLDFLAGS) lib_LTLIBRARIES = libirecovery.la -libirecovery_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined $(AM_LIBS) -libirecovery_la_SOURCES = \ - libirecovery.c +libirecovery_la_CFLAGS = $(AM_CFLAGS) +libirecovery_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIRECOVERY_SO_VERSION) -no-undefined +libirecovery_la_SOURCES = libirecovery.c +if WIN32 +libirecovery_la_LDFLAGS += -avoid-version +endif
\ No newline at end of file |