summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2020-09-14 16:23:20 (GMT)
committerMark Brand <mabrand@mabrand.nl>2020-09-14 16:23:20 (GMT)
commit79a41abceacbc29ec646a9fe6b6a33f392262e5c (patch)
treee492fa9669cf21911eda337e20002c78ba5b9886
parenteadc0cdad3429359f414e1516bd3492644e4d272 (diff)
downloadmxe-79a41abceacbc29ec646a9fe6b6a33f392262e5c.zip
mxe-79a41abceacbc29ec646a9fe6b6a33f392262e5c.tar.gz
mxe-79a41abceacbc29ec646a9fe6b6a33f392262e5c.tar.bz2
mesa: fix build for i686-w64-mingw32 targets (part 2)
https://github.com/mxe/mxe/issues/2561
-rw-r--r--src/mesa.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa.mk b/src/mesa.mk
index a9d0602..15bc3fe 100644
--- a/src/mesa.mk
+++ b/src/mesa.mk
@@ -22,5 +22,5 @@ define $(PKG)_BUILD
$(INSTALL) -d "$(PREFIX)/$(TARGET)/include/$$i"; \
$(INSTALL) -m 644 "$(1)/include/$$i/"* "$(PREFIX)/$(TARGET)/include/$$i/"; \
done
- $(INSTALL) -m 755 '$(1)/build/windows-$(MACHINE)/gallium/targets/libgl-gdi/opengl32.dll' '$(PREFIX)/$(TARGET)/bin/'
+ $(INSTALL) -m 755 '$(1)/build/windows-$(if $(findstring x86_64,$(TARGET)),x86_64,x86)/gallium/targets/libgl-gdi/opengl32.dll' '$(PREFIX)/$(TARGET)/bin/'
endef