Makefile.am: Simplify LDFLAGS handling a bit.

This commit is contained in:
Uwe Hermann 2015-04-19 18:33:47 +02:00
parent f14809393a
commit a630a469f6
1 changed files with 1 additions and 3 deletions

View File

@ -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