summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--payloads/libpayload/bin/lp.functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/bin/lp.functions b/payloads/libpayload/bin/lp.functions
index 8d784ebbd4..fd26956243 100644
--- a/payloads/libpayload/bin/lp.functions
+++ b/payloads/libpayload/bin/lp.functions
@@ -52,7 +52,7 @@ fi
if [ -f $BASE/../lib/libpayload.a ]; then
_LIBDIR=$BASE/../lib
-elif [ -f $_OBJ/libpayload.a ]; then
+elif [ -f $_OBJ/libpayload.config ]; then
_LIBDIR=$_OBJ
else
_LIBDIR=$LIBPAYLOAD_PREFIX/lib