From bec51dde0edbd20ab1fd7fe77afab29dd731712c Mon Sep 17 00:00:00 2001 From: "Vladimir D. Seleznev" Date: Wed, 9 Oct 2019 02:08:00 +0300 Subject: [PATCH] ALT pkgs LDFLAGS Set LDFLAGS to link pkgs against tclstub. --- tcl/unix/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tcl/unix/Makefile.in b/tcl/unix/Makefile.in index edc49089bd..ec51ea6296 100644 --- a/tcl/unix/Makefile.in +++ b/tcl/unix/Makefile.in @@ -1814,7 +1814,8 @@ configure-packages: echo "Configuring package '$$pkg'"; \ mkdir -p $(PKG_DIR)/$$pkg; \ if [ ! -f $(PKG_DIR)/$$pkg/Makefile ] ; then \ - ( cd $(PKG_DIR)/$$pkg; \ + ( export LDGLAGS="-L`pwd` $(LDGLAGS)"; \ + cd $(PKG_DIR)/$$pkg; \ $$i/configure --with-tcl=../.. \ --with-tclinclude=$(GENERIC_DIR) \ $(PKG_CFG_ARGS) --libdir=$(PACKAGE_DIR) \ -- 2.33.5