aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Romanko <me@blankhex.com>2025-08-28 20:43:20 +0300
committerMikhail Romanko <me@blankhex.com>2025-08-28 20:43:20 +0300
commita690b3f28557b549e893a4efa6a61c6090f7956a (patch)
treef125df14b6d140e47f6f16991cbd84fd56fcbd17
parenta0c92c23981abc667bbdf8e3bbf9f530b1db39e7 (diff)
downloadbhlib-a690b3f28557b549e893a4efa6a61c6090f7956a.tar.gz
Automate setting source path
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0c07996..5c18963 100755
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
# Configure script by blankhex
# Global variables
-source_path=""
+source_path=$(dirname "$0")
cc=$CC
ar=$AR
staticlib=libbh.a