Simplify OpenBSD shared lib handling
This commit is contained in:
parent
e4f6926ac0
commit
0bfb7c80d3
|
|
@ -8116,7 +8116,7 @@ fi
|
|||
LDDL_FLAGS="-shared ${LIB_SPECS}"
|
||||
;;
|
||||
|
||||
*-netbsd*|*-openbsd*)
|
||||
*-netbsd*)
|
||||
# Not available on all versions: check for include file.
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
||||
|
|
@ -8132,6 +8132,11 @@ fi
|
|||
fi
|
||||
;;
|
||||
|
||||
*-openbsd*)
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
LDDL_FLAGS="-shared ${LIB_SPEC}"
|
||||
;;
|
||||
|
||||
*-nextstep*)
|
||||
LDDL_FLAGS="-nostdlib -r"
|
||||
;;
|
||||
|
|
|
|||
|
|
@ -1643,7 +1643,7 @@ if test $usingTcl ; then
|
|||
LDDL_FLAGS="-shared ${LIB_SPECS}"
|
||||
;;
|
||||
|
||||
*-netbsd*|*-openbsd*)
|
||||
*-netbsd*)
|
||||
# Not available on all versions: check for include file.
|
||||
AC_CHECK_HEADER(dlfcn.h, test_ok=yes, test_ok=no)
|
||||
if test "$test_ok" = yes; then
|
||||
|
|
@ -1652,6 +1652,11 @@ if test $usingTcl ; then
|
|||
fi
|
||||
;;
|
||||
|
||||
*-openbsd*)
|
||||
SHLIB_CFLAGS="-fPIC"
|
||||
LDDL_FLAGS="-shared ${LIB_SPEC}"
|
||||
;;
|
||||
|
||||
*-nextstep*)
|
||||
LDDL_FLAGS="-nostdlib -r"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue