From 3c1ed141a2cad5445d91fea1368946c69aa62622 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Wed, 20 Jan 2016 00:07:58 +0200 Subject: [PATCH] fixed autotools win build; --- lib/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 73b5f6a..c8f72cf 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -20,14 +20,14 @@ libsxmp_la_LDFLAGS = libsxmp_la_LIBADD = -lpthread -lcrypto $(OPENSSL_LIBS) -if COND_WIN32 +if !COND_WIN32 -libtdata_la_LDFLAGS = -no-undefined +libsxmp_la_LDFLAGS += -no-undefined libsxmp_la_LIBADD += -lmman -luuid /mingw64/lib/libsexpr.a /mingw64/lib/libtdata.a else libsxmp_la_LIBADD += $(LIBTDATA_LIBS) $(LIBSEXPR_LIBS) $(LIBUUID_LIBS) -endif !COND_WIN32 +endif COND_WIN32 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsxmp.pc