Преглед на файлове

build: do not set --build if not really cross-compiling (eg. building for

mingw64 on mingw32).
legacy
Sam Hocevar sam преди 13 години
родител
ревизия
70e3ae8222
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. +8
    -0
      build/lol-build

+ 8
- 0
build/lol-build Целия файл

@@ -74,6 +74,10 @@ configure()
echo "Error: could not find win32 compiler" >&2
false
fi
if test "x${MSYSTEM}" = xMINGW64; then
# If using mingw64, we're not really cross-compiling
BUILDFLAGS=
fi
PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$PWD/contrib/gtkglarea-2.0.1/lib/pkgconfig"
LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32"
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/i686-w64-mingw32"
@@ -93,6 +97,10 @@ configure()
echo "Error: could not find win64 compiler" >&2
false
fi
if test "x${MSYSTEM}" = xMINGW32; then
# If using mingw32, we're not really cross-compiling
BUILDFLAGS=
fi
LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/x86_64-w64-mingw32"
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/x86_64-w64-mingw32"
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-image-1.2.10/lib/x86_64-w64-mingw32"


Зареждане…
Отказ
Запис