From 31a55df3d9750b2cdb21d436c4bf3ffbf24c4f4d Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 22 Sep 2013 11:25:30 +0100 Subject: makepkg: add LIBRARY variable This points makepkg to where is library is located. Can be overridden by value in the environment. Signed-off-by: Allan McRae [Ashley: Rebased] Signed-off-by: Ashley Whetter --- scripts/makepkg.sh.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/makepkg.sh.in') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 9e2675db..2b01c468 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -46,6 +46,8 @@ declare -r confdir='@sysconfdir@' declare -r BUILDSCRIPT='@BUILDSCRIPT@' declare -r startdir="$PWD" +LIBRARY=${LIBRARY:-'@libmakepkgdir@'} + packaging_options=('strip' 'docs' 'libtool' 'staticlibs' 'emptydirs' 'zipman' \ 'purge' 'upx' 'debug') other_options=('ccache' 'distcc' 'buildflags' 'makeflags') -- cgit v1.2.3-24-g4f1b