termux-packages/packages/libucontext/Makefile.patch

18 lines
515 B
Diff
Raw Normal View History

--- ../libucontext-libucontext-1.1/Makefile 2021-03-09 07:46:31.000000000 +0000
+++ ./Makefile 2022-02-11 13:33:41.720671627 +0000
@@ -14,10 +14,10 @@
override ARCH = arm
2022-01-13 12:31:00 +01:00
endif
-LIBDIR := /lib
2022-01-13 12:31:00 +01:00
-INCLUDEDIR := /usr/include
-PKGCONFIGDIR := /usr/lib/pkgconfig
-CFLAGS := -ggdb3 -O2 -Wall
+LIBDIR := $(PREFIX)/lib
+INCLUDEDIR := $(PREFIX)/include
+PKGCONFIGDIR := $(PREFIX)/lib/pkgconfig
2022-01-13 12:31:00 +01:00
+CFLAGS ?= -ggdb3 -O2 -Wall
CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common
EXPORT_UNPREFIXED := yes
FREESTANDING := no