summaryrefslogtreecommitdiffstats
path: root/builddeps-bucts
diff options
context:
space:
mode:
Diffstat (limited to 'builddeps-bucts')
-rwxr-xr-xbuilddeps-bucts9
1 files changed, 8 insertions, 1 deletions
diff --git a/builddeps-bucts b/builddeps-bucts
index ead751b..7125e83 100755
--- a/builddeps-bucts
+++ b/builddeps-bucts
@@ -32,7 +32,14 @@ cd bucts
make clean
# build bucts
-make
+if (( $# != 1 )); then
+ # build it dynamically linked
+ make
+else
+ git apply ../resources/bucts/patch/staticlink.diff
+ # build it statically linked
+ make
+fi
# done. go back to main directory
cd ../