Force OMF mode for DLL builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1559,6 +1559,10 @@ case "${host}" in
|
|||||||
LIBS="$LIBS -lstdc++"
|
LIBS="$LIBS -lstdc++"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
|
||||||
|
AC_MSG_WARN([Building DLLs requires OMF mode, enabled])
|
||||||
|
wxUSE_OMF=yes
|
||||||
|
fi
|
||||||
if test "$wxUSE_OMF" = "yes"; then
|
if test "$wxUSE_OMF" = "yes"; then
|
||||||
LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
|
LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
|
||||||
fi
|
fi
|
||||||
|
@@ -407,7 +407,7 @@ for file in $inputFiles ; do
|
|||||||
*)
|
*)
|
||||||
# we do not want to export weak symbols in general, so we filter
|
# we do not want to export weak symbols in general, so we filter
|
||||||
# those out using grep.
|
# those out using grep.
|
||||||
doCommand "emxexp -u $file | grep -v weak$ >> $tmpdefFile || true"
|
doCommand "emxexp -u $file >> $tmpdefFile || true"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user