]> gitweb.factorcode.org Git - factor.git/commitdiff
GNUmakefile: add linker option --no-as-needed, fixes #266
authorPhilipp Brüschweiler <blei42@gmail.com>
Sun, 16 Oct 2011 10:33:34 +0000 (12:33 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 19 Oct 2011 18:38:56 +0000 (11:38 -0700)
GNUmakefile

index 29971775a46e670dff78fb1bafb9d3e3878c8639..e87ed29f9818e3616205993cb710b45c0b44d9d6 100755 (executable)
@@ -7,7 +7,7 @@ ifdef CONFIG
        BUNDLE = Factor.app
        LIBPATH = -L/usr/X11R6/lib
 
-       CFLAGS = -Wall $(SITE_CFLAGS)
+       CFLAGS = -Wall -Wl,--no-as-needed $(SITE_CFLAGS)
 
        ifdef DEBUG
                CFLAGS += -g -DFACTOR_DEBUG