diff options
| author | Roy Marples <roy@marples.name> | 2014-03-07 16:03:52 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-03-07 16:03:52 +0000 |
| commit | 6b8f50f8cb99c55c33e096140884a2d287542dd6 (patch) | |
| tree | 640011bde076e2c8fc57dc4e562de4b2639f8f77 /configure | |
| parent | c9c8d13afb0c75bf00644a2afcb94c6f1cf9adb3 (diff) | |
| download | dhcpcd-6b8f50f8cb99c55c33e096140884a2d287542dd6.tar.xz | |
Force a static build for OpenBSD and a SBINDIR of /sbin
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -264,6 +264,14 @@ if [ -n "$LDFLAGS" ]; then echo "LDFLAGS+= $LDFLAGS" >>$CONFIG_MK fi +case "$OS" in +openbsd*) + if [ "$SBINDIR" = /sbin ]; then + echo "Forcing a static build for OpenBSD and SBINDIR of /sbin" + STATIC=yes + fi + ;; +esac if [ "$STATIC" = yes ]; then echo "LDFLAGS+= -static" >>$CONFIG_MK fi |
