Commit b8c87f20 authored by jhugues's avatar jhugues
Browse files

* Adjust detection of mingw32 compiler


git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@6883 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent fe594f1e
...@@ -292,7 +292,7 @@ endif ...@@ -292,7 +292,7 @@ endif
ifeq ($(TARGET), $(filter $(TARGET), win32)) ifeq ($(TARGET), $(filter $(TARGET), win32))
EXE=$(BINARY).exe EXE=$(BINARY).exe
$(BINARY): $(BINARY):
@if [ ! -f $(which i686-w64-mingw32-gcc) ]; then \ @if [ x"$(which i686-w64-mingw32-gcc)"=x ]; then \
echo "Windows compiler is not installed in your system, exiting" ; \ echo "Windows compiler is not installed in your system, exiting" ; \
else \ else \
$(MAKE) generate-asn1-deployment target-objects compile-po-hi $(USER_OBJS) $(GENERATED_OBJS) $(TARGET_OBJECTS) ; \ $(MAKE) generate-asn1-deployment target-objects compile-po-hi $(USER_OBJS) $(GENERATED_OBJS) $(TARGET_OBJECTS) ; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment