diff options
Diffstat (limited to 'src')
-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 |