aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/buildfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/buildfile b/build2/buildfile
index 44ec2a8..fb74968 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -27,7 +27,8 @@ if ($cxx.target.class != 'windows')
{
# Make sure backtrace includes function names.
#
- cxx.loptions += -rdynamic
+ if ($cc.stdlib == 'glibc')
+ cxx.loptions += -rdynamic
# Make sure we use RPATH and not RUNPATH since the latter messes up
# dlopen().