staticlink.diff 295 B

1234567891011121314
  1. diff --git a/Makefile b/Makefile
  2. index 68541e6..b8579eb 100644
  3. --- a/Makefile
  4. +++ b/Makefile
  5. @@ -10,7 +10,7 @@ endif
  6. all: bucts
  7. bucts: $(OBJ)
  8. - $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci
  9. + $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static
  10. %.o: %.c
  11. $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $<