Remove the -rpath option from the link command.
This commit is contained in:
parent
83dbdceba3
commit
c7b4ed77fb
|
@ -5105,7 +5105,7 @@ fi
|
||||||
echo "$ac_t""$ac_cv_c_dll_gnuelf" 1>&6
|
echo "$ac_t""$ac_cv_c_dll_gnuelf" 1>&6
|
||||||
if test "$ac_cv_c_dll_gnuelf" = "yes"
|
if test "$ac_cv_c_dll_gnuelf" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%) -Wl,-rpath,\$(libdir)"
|
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
|
||||||
LDDLLFLAGS="-Wl,-Bsymbolic"
|
LDDLLFLAGS="-Wl,-Bsymbolic"
|
||||||
else
|
else
|
||||||
echo $ac_n "checking whether we can build a UnixWare (Solaris) dll""... $ac_c" 1>&6
|
echo $ac_n "checking whether we can build a UnixWare (Solaris) dll""... $ac_c" 1>&6
|
||||||
|
@ -5140,7 +5140,7 @@ fi
|
||||||
echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
|
echo "$ac_t""$ac_cv_c_dll_unixware" 1>&6
|
||||||
if test "$ac_cv_c_dll_unixware" = "yes"
|
if test "$ac_cv_c_dll_unixware" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
|
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
|
||||||
LDDLLFLAGS="-Wl,-B,symbolic"
|
LDDLLFLAGS="-Wl,-B,symbolic"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -650,7 +650,7 @@ then
|
||||||
])
|
])
|
||||||
if test "$ac_cv_c_dll_gnuelf" = "yes"
|
if test "$ac_cv_c_dll_gnuelf" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%) -Wl,-rpath,\$(libdir)"
|
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
|
||||||
LDDLLFLAGS="-Wl,-Bsymbolic"
|
LDDLLFLAGS="-Wl,-Bsymbolic"
|
||||||
else
|
else
|
||||||
AC_CACHE_CHECK(whether we can build a UnixWare (Solaris) dll,
|
AC_CACHE_CHECK(whether we can build a UnixWare (Solaris) dll,
|
||||||
|
@ -662,7 +662,7 @@ then
|
||||||
])
|
])
|
||||||
if test "$ac_cv_c_dll_unixware" = "yes"
|
if test "$ac_cv_c_dll_unixware" = "yes"
|
||||||
then
|
then
|
||||||
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,\$(libdir)/%)"
|
LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
|
||||||
LDDLLFLAGS="-Wl,-B,symbolic"
|
LDDLLFLAGS="-Wl,-B,symbolic"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue