mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 779704 - Cleanup FreeBSD linker cruft from configure script. r=khuey
This commit is contained in:
parent
778b6784c6
commit
e0bec36e8d
14
configure.in
14
configure.in
@ -1993,16 +1993,6 @@ case "$target" in
|
||||
MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin'
|
||||
;;
|
||||
|
||||
*-freebsd*)
|
||||
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then
|
||||
DLL_SUFFIX=".so.1.0"
|
||||
DSO_LDOPTS="-shared"
|
||||
fi
|
||||
if test ! "$GNU_CC"; then
|
||||
DSO_LDOPTS="-Bshareable $DSO_LDOPTS"
|
||||
fi
|
||||
;;
|
||||
|
||||
ia64*-hpux*)
|
||||
DLL_SUFFIX=".so"
|
||||
if test ! "$GNU_CC"; then
|
||||
@ -3194,11 +3184,9 @@ then
|
||||
*-*-freebsd*)
|
||||
AC_DEFINE(_REENTRANT)
|
||||
AC_DEFINE(_THREAD_SAFE)
|
||||
dnl -pthread links in -lc_r, so don't specify it explicitly.
|
||||
dnl -pthread links in -lpthread, so don't specify it explicitly.
|
||||
if test "$ac_cv_have_dash_pthread" = "yes"; then
|
||||
_PTHREAD_LDFLAGS="-pthread"
|
||||
else
|
||||
_PTHREAD_LDFLAGS="-lc_r"
|
||||
fi
|
||||
;;
|
||||
|
||||
|
@ -1625,16 +1625,6 @@ case "$target" in
|
||||
MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin'
|
||||
;;
|
||||
|
||||
*-freebsd*)
|
||||
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then
|
||||
DLL_SUFFIX=".so.1.0"
|
||||
DSO_LDOPTS="-shared"
|
||||
fi
|
||||
if test ! "$GNU_CC"; then
|
||||
DSO_LDOPTS="-Bshareable $DSO_LDOPTS"
|
||||
fi
|
||||
;;
|
||||
|
||||
ia64*-hpux*)
|
||||
DLL_SUFFIX=".so"
|
||||
if test ! "$GNU_CC"; then
|
||||
@ -2721,11 +2711,9 @@ then
|
||||
*-*-freebsd*)
|
||||
AC_DEFINE(_REENTRANT)
|
||||
AC_DEFINE(_THREAD_SAFE)
|
||||
dnl -pthread links in -lc_r, so don't specify it explicitly.
|
||||
dnl -pthread links in -lpthread, so don't specify it explicitly.
|
||||
if test "$ac_cv_have_dash_pthread" = "yes"; then
|
||||
_PTHREAD_LDFLAGS="-pthread"
|
||||
else
|
||||
_PTHREAD_LDFLAGS="-lc_r"
|
||||
fi
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user