]> sigrok.org Git - libserialport.git/commitdiff
Makefile.am: Simplify LDFLAGS handling a bit.
authorUwe Hermann <redacted>
Sun, 19 Apr 2015 16:33:47 +0000 (18:33 +0200)
committerUwe Hermann <redacted>
Sun, 19 Apr 2015 17:01:08 +0000 (19:01 +0200)
Makefile.am

index 4656427de5caf70d950f6e92158660e5a03bb27a..58185e99f615d0fda3c385dc3f534473a5e1a661 100644 (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