mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-19 16:52:16 +00:00
17 lines
423 B
Diff
17 lines
423 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 82bd263..919fd1a 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,9 +1,9 @@
|
|
.POSIX:
|
|
|
|
-PREFIX=/usr/local
|
|
+PREFIX=@TERMUX_PREFIX@
|
|
BINDIR=$(PREFIX)/bin
|
|
MANDIR=$(PREFIX)/share/man
|
|
-ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter
|
|
+ALL_CFLAGS=$(CFLAGS) -std=c99 -Wall -Wextra -Wpedantic -Wno-unused-parameter -I@TERMUX_PREFIX@/include
|
|
OBJ=\
|
|
build.o\
|
|
deps.o\
|