Ver código fonte

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

mingw64 on mingw32).
legacy
Sam Hocevar sam 13 anos atrás
pai
commit
70e3ae8222
1 arquivos alterados com 8 adições e 0 exclusões
  1. +8
    -0
      build/lol-build

+ 8
- 0
build/lol-build Ver arquivo

@@ -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"


Carregando…
Cancelar
Salvar