aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-07-30 18:58:06 +0300
committerMikhail Romanko <me@blankhex.com>2025-07-30 18:58:06 +0300
commit6a11305d37cd3c7fc11fa71661e04315c2d469d6 (patch)
tree6a5d673083435f3e9a697794c451e6c526921524
parentfd3b3dc468021838c618f4000af7aeac6223a44c (diff)
downloadbhlib-6a11305d37cd3c7fc11fa71661e04315c2d469d6.tar.gz
Small refactor in configure script
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index ce6a560..19558ab 100755
--- a/configure
+++ b/configure
@@ -7,6 +7,7 @@ cc=$CC
ar=$AR
staticlib=libbh.a
dynamiclib=libbh.so
+exe=""
enable_dynamic="no"
enable_mt="yes"
enable_lfs="no"
@@ -132,7 +133,6 @@ sources="${source_path}src/Platform/Spinlock.c"
# Platform dependant sources
if [ "$platform" = "Posix" ]; then
- exe=""
sources="$sources:${source_path}src/Platform/Posix/File.c"
mkdir src/Platform/Posix 2> /dev/null
elif [ "$platform" = "Win32" ]; then
@@ -141,7 +141,6 @@ elif [ "$platform" = "Win32" ]; then
sources="$sources:${source_path}src/Platform/Win32/File.c"
mkdir src/Platform/Win32 2> /dev/null
else
- exe=""
sources="$sources:${source_path}src/Platform/Dummy/File.c"
mkdir src/Platform/Dummy 2> /dev/null
fi