Skip to content

Commit 927d00d

Browse files
committed
Update
[ghstack-poisoned]
1 parent 98a6e76 commit 927d00d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

backends/qualcomm/scripts/install_qnn_sdk.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ setup_libcpp() {
141141
popd >/dev/null
142142

143143
# Set environment variables
144-
export CPLUS_INCLUDE_PATH="${INSTALL_DIR}/include:$CPLUS_INCLUDE_PATH"
145-
export LD_LIBRARY_PATH="${INSTALL_DIR}/lib:$LD_LIBRARY_PATH"
146-
export LIBRARY_PATH="${INSTALL_DIR}/lib:$LIBRARY_PATH"
144+
export CPLUS_INCLUDE_PATH="${INSTALL_DIR}/include:${CPLUS_INCLUDE_PATH:-}"
145+
export LD_LIBRARY_PATH="${INSTALL_DIR}/lib:${LD_LIBRARY_PATH:-}"
146+
export LIBRARY_PATH="${INSTALL_DIR}/lib:${LIBRARY_PATH:-}"
147147

148148
echo "libc++ installed to ${INSTALL_DIR}"
149149
}

0 commit comments

Comments
 (0)