summaryrefslogtreecommitdiffstats
path: root/src/openexr.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2010-09-26 15:12:56 (GMT)
committerTony Theodore <tonyt@logyst.com>2010-09-26 15:12:56 (GMT)
commit714a12ab02e5c7d93ad1fa29ab14ead2b0e05a4c (patch)
treee29e74dedf3035a06d5f9a6202b3a76d45cae66f /src/openexr.mk
parentaa14f5983334780b2965ea364866c6ee81175ea1 (diff)
downloadmxe-714a12ab02e5c7d93ad1fa29ab14ead2b0e05a4c.zip
mxe-714a12ab02e5c7d93ad1fa29ab14ead2b0e05a4c.tar.gz
mxe-714a12ab02e5c7d93ad1fa29ab14ead2b0e05a4c.tar.bz2
use the more recent gcc42 on OSX
Diffstat (limited to 'src/openexr.mk')
-rw-r--r--src/openexr.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openexr.mk b/src/openexr.mk
index dd3362a..d22b2a9 100644
--- a/src/openexr.mk
+++ b/src/openexr.mk
@@ -22,6 +22,8 @@ endef
define $(PKG)_BUILD
# unpack and build a native version of ilmbase
cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,ilmbase)
+ $(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/ilmbase-*.patch)),
+ (cd '$(1)/$(ilmbase_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH))
cd '$(1)/$(ilmbase_SUBDIR)' && $(SHELL) ./configure \
--disable-shared \
--prefix='$(1)/ilmbase' \