Use -z defs to catch undefineds at build time

This commit is contained in:
Tor Lillqvist 2012-01-23 00:20:26 +02:00
parent d180de79b8
commit a76ab71b8b

View file

@ -49,6 +49,9 @@ gb_CppunitTest_CPPTESTPRECOMMAND := :
# eventually enable this to be done this in some more elegant and less
# redundant fashion.
gb_LinkTarget_LDFLAGS += \
-Wl,-z,defs \
define gb_LinkTarget__command_dynamiclink
$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(1)) && \