Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit ed1d7e5

Browse files
committed
container-apps: fix LDFLAGS for gdb
1 parent 2d9569f commit ed1d7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/container-apps-functions-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,11 +1156,11 @@ function build_gdb()
11561156
# CPPFLAGS+=" -I${XBB_FOLDER_PATH}/include"
11571157
# LDFLAGS+=" -L${XBB_FOLDER_PATH}/lib"
11581158
LDFLAGS="${XBB_LDFLAGS_APP}"
1159-
LDFLAGS+=" -Wl,-rpath,${LD_LIBRARY_PATH}"
11601159
LIBS="-liconv -lncurses"
11611160
elif [ "${TARGET_PLATFORM}" == "linux" ]
11621161
then
11631162
LDFLAGS="${XBB_LDFLAGS_APP}"
1163+
LDFLAGS+=" -Wl,-rpath,${LD_LIBRARY_PATH}"
11641164
LIBS=""
11651165
fi
11661166

0 commit comments

Comments
 (0)