From 59096cc2d05bc7da19b9eca6fdb2d18fd0121a32 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sat, 13 Apr 2019 01:02:10 +0300 Subject: [PATCH] fltk: pass default ldflags Fixes problem where DT_RUNPATH is not being set. --- x11-packages/fltk/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-packages/fltk/build.sh b/x11-packages/fltk/build.sh index b268f3504..e303ca633 100644 --- a/x11-packages/fltk/build.sh +++ b/x11-packages/fltk/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Graphical user interface toolkit for X" TERMUX_PKG_LICENSE="LGPL-2.0" TERMUX_PKG_MAINTAINER="Leonid Plyushch @xeffyr" TERMUX_PKG_VERSION=1.3.4.2 -TERMUX_PKG_REVISION=3 +TERMUX_PKG_REVISION=4 TERMUX_PKG_SRCURL=https://www.fltk.org/pub/fltk/${TERMUX_PKG_VERSION/.2/}/fltk-${TERMUX_PKG_VERSION/.2/-2}-source.tar.gz TERMUX_PKG_SHA256=25d349c18c99508737d48f225a2eb26a43338f9247551cab72a317fa42cda910 TERMUX_PKG_DEPENDS="fontconfig, glu, libc++, libjpeg-turbo, libpng, libx11, libxcursor, libxext, libxfixes, libxft, libxinerama, libxrender, mesa" @@ -24,5 +24,5 @@ termux_step_pre_configure() { sed -i 's/x-fluid.desktop/fluid.desktop/' -i fluid/Makefile sed -i -e 's/$(LINKFLTK)/$(LINKSHARED)/' -e 's/$(LINKFLTKIMG)/$(LINKSHARED)/' test/Makefile - export LIBS="-L/data/data/com.termux/files/usr/lib" + export LIBS="$LDFLAGS" }