edbrowse: don't override ldflags

This commit is contained in:
Leonid Pliushch 2021-10-09 22:56:01 +03:00
parent fc7dd16bb5
commit 70ef119cd2
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0-or-later, MIT, MPL-2.0"
TERMUX_PKG_LICENSE_FILE="../COPYING"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.8.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/CMB/edbrowse/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5d512b63ee69e418e5946557ebc703c19e6dccc515f358649a2d38063a6d6a69
TERMUX_PKG_DEPENDS="libandroid-glob, libcurl, pcre2, readline, tidy"

View File

@ -16,7 +16,7 @@
# Libraries and linker flags for edbrowse.
-LDFLAGS = $(STRIP) $(PCRE_LIBS) $(CURL_LIBS) -lreadline $(TIDY_LIBS) $(EDBR_ODBC_LIBS) -lpthread -lm
+LDFLAGS = $(STRIP) $(PCRE_LIBS) $(CURL_LIBS) -lreadline $(TIDY_LIBS) $(EDBR_ODBC_LIBS) -landroid-glob -lm
+LDFLAGS += $(STRIP) $(PCRE_LIBS) $(CURL_LIBS) -lreadline $(TIDY_LIBS) $(EDBR_ODBC_LIBS) -landroid-glob -lm
# LDFLAGS for quickjs. For FreeBSD, remove -latomic.
-QUICKJS_LDFLAGS = -L/usr/local/lib/quickjs -lquickjs -ldl -latomic
+QUICKJS_LDFLAGS = -L$(PREFIX)/lib/quickjs -lquickjs -ldl -latomic