diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-05-09 17:11:42 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-05-09 17:11:42 (GMT) |
commit | 03306a11f7c5702cd0b1b98fb0b88aaeddf69f41 (patch) | |
tree | 38ebc1950351210cf2d9329bdbc75f23f625ae93 | |
parent | 3d7cce8ce78d42c493d9de5e5e8c630d7db1c875 (diff) | |
download | mxe-03306a11f7c5702cd0b1b98fb0b88aaeddf69f41.zip mxe-03306a11f7c5702cd0b1b98fb0b88aaeddf69f41.tar.gz mxe-03306a11f7c5702cd0b1b98fb0b88aaeddf69f41.tar.bz2 |
package lensfun: portability fix
-rw-r--r-- | src/lensfun-3-mac-build.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lensfun-3-mac-build.patch b/src/lensfun-3-mac-build.patch new file mode 100644 index 0000000..61f2621 --- /dev/null +++ b/src/lensfun-3-mac-build.patch @@ -0,0 +1,15 @@ +This file is part of MXE. +See index.html for further information. + +diff -ur lensfun-0.2.8.orig/build/tibs/compiler/pkgconfig.mak lensfun-0.2.8/build/tibs/compiler/pkgconfig.mak +--- lensfun-0.2.8.orig/build/tibs/compiler/pkgconfig.mak 2014-05-10 03:07:49.000000000 +1000 ++++ lensfun-0.2.8/build/tibs/compiler/pkgconfig.mak 2014-05-10 03:08:38.000000000 +1000 +@@ -4,7 +4,7 @@ + # Try to guess here if target supports pkgconfig + # - Any POSIX platform + # - Cross-compiling on a POSIX target for WINDOWS (mingw32) +-ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/),) ++ifneq ($(findstring /posix/,/$(TARGET)/)$(findstring /posix-windows/,/$(HOST)-$(TARGET)/)$(findstring /mac-windows/,/$(HOST)-$(TARGET)/),) + + XFNAME.PKGCONFIG = $(addprefix $$(OUT),$1) + MKDEPS.PKGCONFIG = $1 |