rather than: LINK_MODE=foo
to allow modules to over-ride link mode
# Yes, this is a horrible hack.
#
ifeq ($(findstring $(TARGET),$(STATIC_MODULES)),)
-LINK_MODE=-export-dynamic
+LINK_MODE +=-export-dynamic
else
-LINK_MODE=-static
+LINK_MODE +=-static
endif
#
# link mode to static.
#
ifneq ($(USE_SHARED_LIBS),yes)
-LINK_MODE=-static
+LINK_MODE += -static
endif
$(TARGET).la: $(DYNAMIC_OBJS)