Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
valord577 committed Dec 10, 2024
1 parent 024174b commit 9f50097
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg-conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ function dl_pkgc() {
# mark libraries (shared static)
# - PKG_DEPS_SHARED
# - PKG_DEPS_STATIC
eval export "PKG_DEPS_${3^^}=\"\${PKG_DEPS_${3^^}} ${dep_libs_dir}/${1}\""
_pkg_type_=$(echo ${3} | tr "[:lower:]" "[:upper:]") # fixed: run on macos zsh
eval export "PKG_DEPS_${_pkg_type_}=\"\${PKG_DEPS_${_pkg_type_}} ${dep_libs_dir}/${1}\""

# https://cmake.org/cmake/help/latest/variable/CMAKE_MODULE_PATH.html
cmake_search_path="${dep_libs_dir}/${1}"
Expand Down

0 comments on commit 9f50097

Please sign in to comment.