From 3198f8905ee2ac39a0c15360e992f71d8bb21533 Mon Sep 17 00:00:00 2001 From: Timerix Date: Wed, 19 Nov 2025 13:47:34 +0500 Subject: [PATCH] v2.3.2: fixed symlink creation --- CBUILD_VERSION | 2 +- CHANGELOG.md | 3 +++ cbuild.sh | 2 +- include/functions.sh | 4 ++-- project.config.default | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CBUILD_VERSION b/CBUILD_VERSION index a625450..e703481 100644 --- a/CBUILD_VERSION +++ b/CBUILD_VERSION @@ -1 +1 @@ -2.3.1 \ No newline at end of file +2.3.2 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ab2627e..4ff3313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.3.2 ++ fixed symlink creation in `OBJDIR/static_libs` + ## 2.3.1 + user config loads before project config diff --git a/cbuild.sh b/cbuild.sh index 5cf2a80..dcb139c 100755 --- a/cbuild.sh +++ b/cbuild.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -INSTALLED_CBUILD_VERSION=2.3.1 +INSTALLED_CBUILD_VERSION=2.3.2 # set \t size to 4 spaces tabs 4 diff --git a/include/functions.sh b/include/functions.sh index fb10d80..3630555 100755 --- a/include/functions.sh +++ b/include/functions.sh @@ -137,8 +137,8 @@ function build_dependency { # creates symbolic link to each file in $OBJDIR/static_libs for file in $DEP_STATIC_OUT_FILES; do # doesnt return error if called not like this - f=$(realpath $file) - ln -sfv $f "$proj_root_dir/$OBJDIR/static_libs" + real_file=$(realpath $file) + ln -sfv "$real_file" "$proj_root_dir/$OBJDIR/static_libs/" done fi diff --git a/project.config.default b/project.config.default index 2666d1e..6e5f05d 100755 --- a/project.config.default +++ b/project.config.default @@ -1,5 +1,5 @@ #!/usr/bin/env bash -CBUILD_VERSION=2.3.1 +CBUILD_VERSION=2.3.2 PROJECT="%PROJECT_NAME%" CMP_C="gcc"