fake-environ: Never ever link libgcc_s against the SO.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2012 13:51:50 +0000 (15:51 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2012 13:51:50 +0000 (15:51 +0200)
src/fake-environ/Makefile

index a75bdf2..3c3a3b4 100644 (file)
@@ -19,7 +19,7 @@ all: $(LIB)
        $(CC) $(CFLAGS) -o $@ -c $<
 
 $(LIB): $(OBJECTS)
-       $(CC) $(CFLAGS) -shared -o $@ $? -ldl
+       $(CC) $(CFLAGS) -shared -o $@ $? -ldl -static-libgcc
 
 .PHONY: install
 install: all