summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index ee3769f..dc67d49 100755
--- a/configure
+++ b/configure
@@ -78,6 +78,9 @@ class Configuration(Cxx, Install, ConfigHash, Templates):
self.add_option('--enable-rpath', init='none',
type=enum('none', 'relative', 'absolute'), check=lambda build, ENABLE_RPATH: None,
help='Use rpaths to find libraries', hidden=False)
+ self.add_bool_feature('shared', init='yes',
+ check=lambda build, ENABLE_SHARED: None,
+ help='Build shared libraries instead of static (required for debug, DOES NOT WORK WITH CLANG)')
def vars(self):
super(Configuration, self).vars()