Skip to content

Commit 910d092

Browse files
committed
configure: set correct prefix on termux
1 parent 6bed379 commit 910d092

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ AC_PROG_LN_S
2323
AC_PROG_SED
2424
AC_PROG_GREP
2525

26+
# termux uses PREFIX var for default prefix
27+
AC_PREFIX_DEFAULT([${PREFIX:-/usr/local}])
28+
2629
AC_CHECK_PROGS([PKG_CONFIG], [pkg-config])
2730
if test -z "$PKG_CONFIG"; then
2831
AC_MSG_ERROR(Install pkg-config and retry.)

0 commit comments

Comments
 (0)