freeimage: fix prefix in patch

This commit is contained in:
Aditya Alok 2021-08-27 01:33:05 +05:30 committed by Henrik Grimler
parent 2821bdc9ba
commit c0820b2650

View File

@ -1,13 +1,13 @@
--- FreeImage/Makefile.gnu 2015-03-10 09:04:00.000000000 +0530
+++ FreeImage-patch/Makefile.gnu 2021-08-26 23:29:19.300999788 +0530
+++ FreeImage-patch/Makefile.gnu 2021-08-27 01:32:16.043999979 +0530
@@ -5,17 +5,20 @@
# General configuration variables:
DESTDIR ?= /
-INCDIR ?= $(DESTDIR)/usr/include
-INSTALLDIR ?= $(DESTDIR)/usr/lib
+INCDIR ?= @TERMUX_PREFIX@/usr/include
+INSTALLDIR ?= @TERMUX_PREFIX@/usr/lib
+INCDIR ?= @TERMUX_PREFIX@/include
+INSTALLDIR ?= @TERMUX_PREFIX@/lib
+
+SRCS += Source/LibRawLite/internal/swab.cpp