how-lix-os-pkgs/sbase/default/patch

20 lines
452 B
Plaintext

diff --git a/config.mk b/config.mk
index 9fb18da..c65ce6c 100644
--- a/config.mk
+++ b/config.mk
@@ -2,7 +2,7 @@
VERSION = 0.0
# paths
-PREFIX = /usr/local
+PREFIX = /
MANPREFIX = $(PREFIX)/share/man
CC = cc
@@ -13,4 +13,4 @@ RANLIB = ranlib
# -lrt might be needed on some systems
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
CFLAGS = -std=c99 -Wall -pedantic
-LDFLAGS = -s
+LDFLAGS = -s -static