diff --git a/src/libjpeg-turbo-2-install-DLL-to-bin-libjpeg-turbo.patch b/src/libjpeg-turbo-2-install-DLL-to-bin-libjpeg-turbo.patch new file mode 100644 index 00000000..872bacca --- /dev/null +++ b/src/libjpeg-turbo-2-install-DLL-to-bin-libjpeg-turbo.patch @@ -0,0 +1,28 @@ +This file is part of MXE. +See index.html for further information. + +From 703326874bf235adb392b9748ff0a56a08991690 Mon Sep 17 00:00:00 2001 +From: Boris Nagaev +Date: Sun, 6 Sep 2015 17:45:40 +0100 +Subject: [PATCH] install DLL to bin/libjpeg-turbo not to lib/bin + +--- + ltmain.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ltmain.sh b/ltmain.sh +index a968835..6acc338 100644 +--- a/ltmain.sh ++++ b/ltmain.sh +@@ -5229,7 +5229,7 @@ fi\ + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in +- *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; ++ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../../bin/libjpeg-turbo/$dlname ;; + esac + $echo > $output "\ + # $outputname - a libtool library file +-- +2.1.4 + diff --git a/src/libjpeg-turbo.mk b/src/libjpeg-turbo.mk index e47af58b..5015761e 100644 --- a/src/libjpeg-turbo.mk +++ b/src/libjpeg-turbo.mk @@ -38,5 +38,3 @@ define $(PKG)_BUILD '$(TOP_DIR)/src/jpeg-test.c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \ `'$(TARGET)-pkg-config' jpeg-turbo --cflags --libs` endef - -$(PKG)_BUILD_SHARED =