mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1369866 - Use TOOLCHAIN_PREFIX when running dyldinfo; r=ted
The test in old-configure.in for MOZ_REPLACE_MALLOC_LINKAGE runs dyldinfo, which is a native tool on OSX. We have it in the cross toolchain as well, but as x86_64-apple-darwin11-dyldinfo. We should use the TOOLCHAIN_PREFIX here to make sure we get the same result as native builds. MozReview-Commit-ID: 3jyzpaM8ZGy --HG-- extra : rebase_source : fa0d2c1470f8d61b3f31c9a46609d8911ae2ff91
This commit is contained in:
parent
0dd1135916
commit
04a7d0565e
@ -4105,7 +4105,7 @@ if test -n "$MOZ_REPLACE_MALLOC"; then
|
||||
dnl - "flat namespace" when -flat_namespace alone is needed
|
||||
dnl - "dummy library" when a dummy library and -flat_namespace are needed
|
||||
dnl - "compiler support" when nothing is needed
|
||||
if test -n "$_DYLD_INFO" && dyldinfo -bind conftest${DLL_SUFFIX} 2> /dev/null | grep "_foo (weak import)" > /dev/null; then
|
||||
if test -n "$_DYLD_INFO" && ${TOOLCHAIN_PREFIX}dyldinfo -bind conftest${DLL_SUFFIX} 2> /dev/null | grep "_foo (weak import)" > /dev/null; then
|
||||
if test -n "$_CLASSIC_INFO"; then
|
||||
ac_cv_weak_dynamic_linking="flat namespace"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user