summaryrefslogtreecommitdiff
path: root/payloads/libpayload/bin/lp.functions
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/bin/lp.functions')
-rw-r--r--payloads/libpayload/bin/lp.functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lp.functions b/payloads/libpayload/bin/lp.functions
index 21b6e918b8..31f005d355 100644
--- a/payloads/libpayload/bin/lp.functions
+++ b/payloads/libpayload/bin/lp.functions
@@ -49,11 +49,13 @@ fi
if [ -f $BASE/../lib/libpayload.a ]; then
_LIBDIR=$BASE/../lib
+elif [ -f $BASE/../build/libpayload.a ]; then
+ _LIBDIR=$BASE/../build
else
_LIBDIR=$LIBPAYLOAD_PREFIX/lib
fi
-if [ -d $BASE/../include/ ]; then
+if [ -d $BASE/../include ]; then
_INCDIR=$BASE/../include
else
_INCDIR=$LIBPAYLOAD_PREFIX/include