summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-09-29 14:55:51 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-09-29 15:25:47 -0700
commit0d3df507b4c4fe1dde086cd85a78179c8bcefcf9 (patch)
treedca3f91bb436d588a33321abf1375bd016673553 /configure
parent6a9cde84263e336a6508c0c965f963dfa5d65759 (diff)
downloadtmwa-0d3df507b4c4fe1dde086cd85a78179c8bcefcf9.tar.gz
tmwa-0d3df507b4c4fe1dde086cd85a78179c8bcefcf9.tar.bz2
tmwa-0d3df507b4c4fe1dde086cd85a78179c8bcefcf9.tar.xz
tmwa-0d3df507b4c4fe1dde086cd85a78179c8bcefcf9.zip
Support static libraries since clang is retarded
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()