Skip to content

Commit 7bd26f5

Browse files
authored
Update library module paths in compile script
1 parent dd6e38e commit 7bd26f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

helper-scripts/project-impl/compile-examples.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ LIB_ARCH="${5}"
1111
BUILD_DIR="${6}"
1212

1313
sources="$(pwd)/${examples_dir}/${EXAMPLE}"
14+
libelectrostatic_module="${libs}/${SYSTEM_DIR}/${LIB_ARCH}"
15+
libelectroextension_module="$(pwd)/build/${SYSTEM_DIR}/${LIB_ARCH}"
1416

1517
./helper-scripts/project-impl/compile-electrostatic.sh \
1618
"${EXECUTABLE}" "${GCC_BIN_x86}" "${GPP_BIN_x86}" "OFF" "OFF" "ON" "${INPUT_COMPILER_OPTIONS}" \
1719
"${TARGET_MACHINE}" "${TOOLCHAIN_INCLUDES_x86};${headers}" "${sources}" \
18-
"${libs}/${SYSTEM_DIR}/${LIB_ARCH}" "m;pthread;dl" "${source_dir}" \
20+
"${libelectrostatic_module} ${libelectroextension_module}" "m;pthread;dl" "${source_dir}" \
1921
"${SYSTEM_DIR}" "${BUILD_DIR}" "${POST_COMPILE_FALSE}" "false"
2022

2123
cd "${project_root}" || exit $?
2224

2325

24-

0 commit comments

Comments
 (0)