parent
1470622292
commit
3b1278a37a
10
configure.ac
10
configure.ac
|
@ -560,6 +560,15 @@ ESL_LDFLAGS=
|
|||
PLATFORM_CORE_LDFLAGS=
|
||||
PLATFORM_CORE_LIBS=
|
||||
|
||||
path_remove () {
|
||||
echo "$1" | sed 's/:/\n/g' | grep -Fxv "$2" | tr '\n' ':' | sed 's/:$/\n/'
|
||||
}
|
||||
path_push_unique () {
|
||||
x="$(eval echo \$$1)"
|
||||
x="$(path_remove "$x" "$2")"
|
||||
eval $1="$2:$x"
|
||||
}
|
||||
|
||||
# tweak platform specific flags
|
||||
case "$host" in
|
||||
*darwin13.*|*darwin12.*|*darwin11.*)
|
||||
|
@ -593,6 +602,7 @@ case "$host" in
|
|||
APR_ADDTO([PLATFORM_CORE_LDFLAGS], [--framework CoreFoundation])
|
||||
fi
|
||||
APR_ADDTO([PLATFORM_CORE_LIBS], [-ldl])
|
||||
path_push_unique PKG_CONFIG_PATH /usr/local/opt/curl/lib/pkgconfig
|
||||
;;
|
||||
*-solaris2*)
|
||||
if test "${enable_64}" = "yes"; then
|
||||
|
|
Loading…
Reference in New Issue