Makefile.am: Use libtool's -no-undefined option.
authorUwe Hermann <uwe@hermann-uwe.de>
Fri, 3 Apr 2015 20:50:41 +0000 (22:50 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 3 Apr 2015 20:50:41 +0000 (22:50 +0200)
Makefile.am

index 3a50400f0a24fe7b03bb3974b634e6dfed997bcc..71e74e2697f391910a3cb2a1ec7ff92ca463be3a 100644 (file)
@@ -40,6 +40,8 @@ libsigrokdecode_la_CPPFLAGS = $(CPPFLAGS_PYTHON) \
        -DDECODERS_DIR='"$(DECODERS_DIR)"'
 libsigrokdecode_la_LDFLAGS = $(SRD_LIB_LDFLAGS) $(LDFLAGS_PYTHON)
 
        -DDECODERS_DIR='"$(DECODERS_DIR)"'
 libsigrokdecode_la_LDFLAGS = $(SRD_LIB_LDFLAGS) $(LDFLAGS_PYTHON)
 
+libsigrokdecode_la_LDFLAGS += -no-undefined
+
 library_includedir = $(includedir)/libsigrokdecode
 library_include_HEADERS = libsigrokdecode.h version.h
 noinst_HEADERS = libsigrokdecode-internal.h
 library_includedir = $(includedir)/libsigrokdecode
 library_include_HEADERS = libsigrokdecode.h version.h
 noinst_HEADERS = libsigrokdecode-internal.h