change the cross compiler using mingw=...

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@768 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2012-04-12 03:47:47 +00:00
parent da0b1d02e7
commit fd243987a1

View File

@@ -19,11 +19,11 @@ $(LIBNFC_DLL): $(LIBNFC_DIR) $(LIBUSB_DLL)
cd $< && wget http://www2.informatik.hu-berlin.de/~morgner/libnfc.dll
MINGW=i686-w64-mingw32
MINGW ?= i686-w64-mingw32
MINGW_DIR=/usr/$(MINGW)
PCSC_RELAY_EXE=$(abs_builddir)/src/pcsc-relay.exe
$(PCSC_RELAY_EXE): $(LIBNFC_DIR) $(LIBNFC_DLL)
./configure --target=$(MINGW) --host=$(MINGW) \
./configure --host=$(MINGW) --build=`config.guess` \
PKG_CONFIG_LIBDIR=$(MINGW_DIR)/lib/pkgconfig \
CFLAGS=-I$(MINGW_DIR)/include \
LDFLAGS=-L$(MINGW_DIR)/lib \