summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index ea601dd..c4df8a9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -52,6 +52,13 @@ else
cmake_system_darwin=false
fi
+# Determine whether this is BeOS
+if echo "${cmake_system}" | grep BeOS >/dev/null 2>&1; then
+ cmake_system_beos=true
+else
+ cmake_system_beos=false
+fi
+
# Choose the generator to use for bootstrapping.
if ${cmake_system_mingw}; then
# Bootstrapping from an MSYS prompt.
@@ -549,6 +556,13 @@ else
cmake_ld_flags=${LDFLAGS}
fi
+# Add BeOS toolkits...
+if ${cmake_system_beos}; then
+ cmake_ld_flags="${LDFLAGS} -lroot -lbe"
+else
+ cmake_ld_flags=${LDFLAGS}
+fi
+
# Test C compiler
cmake_c_compiler=