* configure.ac: Probe for linking format rather than guessing it based

on target_os.
This commit is contained in:
Vladimir Serbinenko 2013-11-14 23:17:18 +01:00
parent c7995256e4
commit a9f25a0819
7 changed files with 93 additions and 109 deletions

View file

@ -35,7 +35,7 @@ deps=`grep ^$modname: $moddep | sed s@^.*:@@`
# remove old files if any
rm -f $tmpfile $outfile
if test x@TARGET_APPLE_CC@ != x1; then
if test x@TARGET_APPLE_LINKER@ != x1; then
# stripout .modname and .moddeps sections from input module
@TARGET_OBJCOPY@ -R .modname -R .moddeps $infile $tmpfile