summaryrefslogtreecommitdiff
path: root/resources/bucts/patch/staticlink.diff
blob: 52da8cc8c76d92ab46d71891406f54a93779905f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile b/Makefile
index 68541e6..b8579eb 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ endif
 all: bucts
 
 bucts: $(OBJ)
-	$(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci
+	$(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static
 
 %.o: %.c
 	$(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $<