edbrowse: Respect LDFLAGS

Fixes https://github.com/termux/termux-packages/issues/15355
This commit is contained in:
termux-pacman-bot
2023-02-25 19:02:17 +00:00
parent 9518d8b31f
commit 89dbb231fa
2 changed files with 2 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE="GPL-2.0, MIT"
TERMUX_PKG_LICENSE_FILE="COPYING, LICENSE.quickjs"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=3.8.6
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/CMB/edbrowse/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=85ce43c2832e1e79ea24e23c7726757080ef966d7c2c387f8aa9be108f36bf26
TERMUX_PKG_DEPENDS="libandroid-glob, libcurl, openssl, pcre2, readline, unixodbc"

View File

@@ -5,7 +5,7 @@
# Libraries and linker flags for edbrowse.
-LDFLAGS = $(STRIP) $(LINKER_LIBS) -lpthread -lm -lssl -lcrypto
+LDFLAGS = $(STRIP) $(LINKER_LIBS) -lpthread -landroid-glob -lm -lssl -lcrypto
+LDFLAGS += $(STRIP) $(LINKER_LIBS) -lpthread -landroid-glob -lm -lssl -lcrypto
# LDFLAGS for quickjs loading.
-QUICKJS_LDFLAGS = $(QUICKJS_DIR)/libquickjs.a -ldl