when we're starting to talk sensible default values, begin here:
if $LIBS is empty (i.e. not " " or so), use "-lcrypt" on Interix AIX seems to require some too…
This commit is contained in:
parent
a823a03370
commit
d38897a75d
3
Build.sh
3
Build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $MirOS: src/bin/mksh/Build.sh,v 1.170 2007/04/23 12:13:03 tg Exp $
|
# $MirOS: src/bin/mksh/Build.sh,v 1.171 2007/04/23 14:06:47 tg Exp $
|
||||||
#-
|
#-
|
||||||
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
||||||
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
|
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
|
||||||
@ -218,6 +218,7 @@ HP-UX)
|
|||||||
;;
|
;;
|
||||||
Interix)
|
Interix)
|
||||||
CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE"
|
||||||
|
: ${LIBS=-lcrypt}
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||||
|
Loading…
Reference in New Issue
Block a user