imgflo: Respect LDFLAGS during build

Fixes DT_RUNPATH (see #3490).
This commit is contained in:
Fredrik Fornwall 2019-03-11 00:59:06 +01:00
parent 3f8de8c729
commit cbb7d8f9e3
2 changed files with 4 additions and 4 deletions

View File

@ -44,15 +44,15 @@ diff -u -r ../imgflo-0.4.2/Makefile ./Makefile
imgflo:
- $(PREFIX)/env.sh $(CC) -o ./bin/imgflo bin/imgflo.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo bin/imgflo.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo bin/imgflo.c -I. $(FLAGS) $(CFLAGS) $(LDFLAGS) $(DEPS)
imgflo-graphinfo:
- $(PREFIX)/env.sh $(CC) -o ./bin/imgflo-graphinfo bin/imgflo-graphinfo.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo-graphinfo bin/imgflo-graphinfo.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo-graphinfo bin/imgflo-graphinfo.c -I. $(FLAGS) $(CFLAGS) $(LDFLAGS) $(DEPS)
imgflo-runtime:
- $(PREFIX)/env.sh $(CC) -o ./bin/imgflo-runtime bin/imgflo-runtime.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo-runtime bin/imgflo-runtime.c -I. $(FLAGS) $(DEPS)
+ $(CC) -o ./bin/imgflo-runtime bin/imgflo-runtime.c -I. $(FLAGS) $(CFLAGS) $(LDFLAGS) $(DEPS)
env:
- mkdir -p $(PREFIX) || true

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.imgflo.org/
TERMUX_PKG_DESCRIPTION="HTTP image processing server & Flowhub.io compatible runtime"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=0.4.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/imgflo/imgflo/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=4dd5fc9d34f3cfc294fd69a14d50ed5401abeb829132f1b1ac316e28223fc393
TERMUX_PKG_DEPENDS="gegl, libsoup"