]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/fake-environ/Makefile
suricata: Change midstream policy to "pass-flow"
[ipfire-2.x.git] / src / fake-environ / Makefile
index a75bdf27f971713fb449477caa1450e2732b4aa9..5af7718ffb4c60ec33b05cb57f7d5dfd98472609 100644 (file)
@@ -1,10 +1,10 @@
 
 ifeq "$(CFLAGS)" ""
-  $(error CLFAGS not defined.)
+  $(error CFLAGS not defined)
 endif
 
 ifeq "$(TOOLS_DIR)" ""
-  $(error TOOLS_DIR not defined.)
+  $(error TOOLS_DIR not defined)
 endif
 
 LIB = libpakfire_preload.so
@@ -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