mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224460 - Use pwd -W to fill _topsrcdir in configure. r=gps
We're going to be using -I$_topsrcdir in some CFLAGS variables, and for that we need windows-y paths, not msys paths. All things currently using $_topsrcdir should cope with this just fine.
This commit is contained in:
parent
50a7b175b9
commit
172aa622eb
@ -92,7 +92,7 @@ _PTHREAD_LDFLAGS=""
|
||||
|
||||
dnl Do not allow objdir == srcdir builds.
|
||||
dnl ==============================================================
|
||||
_topsrcdir=`cd \`dirname $0\`; pwd`
|
||||
_topsrcdir=`cd \`dirname $0\`; pwd -W 2>/dev/null || pwd`
|
||||
_objdir=`pwd`
|
||||
|
||||
dnl TODO Don't exempt L10N builds once bug 842760 is resolved.
|
||||
|
@ -73,7 +73,7 @@ _PTHREAD_LDFLAGS=""
|
||||
|
||||
dnl Do not allow objdir == srcdir builds
|
||||
dnl ==============================================================
|
||||
_topsrcdir=`cd $srcdir; pwd`
|
||||
_topsrcdir=`cd $srcdir; pwd -W 2>/dev/null || pwd`
|
||||
_objdir=`pwd`
|
||||
|
||||
if test "$_topsrcdir" = "$_objdir"
|
||||
|
Loading…
Reference in New Issue
Block a user