diff --git a/Makefile.am b/Makefile.am index 4656427..58185e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,14 +40,12 @@ endif libserialport_la_LIBADD = $(LIBOBJS) -libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS) +libserialport_la_LDFLAGS = $(SP_LIB_LDFLAGS) -no-undefined if WIN32 libserialport_la_LIBADD += $(SP_LIBS) endif -libserialport_la_LDFLAGS += -no-undefined - library_includedir = $(includedir) library_include_HEADERS = libserialport.h