Add bbt_add that does not take Metric parameter.
[ardour.git] / libs / pbd / wscript
index c06cd315032a08fa5b983e4e9165371b86114628..be65a84ac1cd9179865c101991e3f13c6c57daf4 100644 (file)
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 import autowaf
 import os
+import sys
 
 # Version of this package (even if built as a child)
 MAJOR = '4'
@@ -34,7 +35,8 @@ def configure(conf):
        conf.check_tool('compiler_cxx')
        autowaf.check_pkg(conf, 'libxml-2.0', uselib_store='XML')
        autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
-       autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
+       if sys.platform != 'darwin':
+               autowaf.check_pkg(conf, 'uuid', uselib_store='UUID')
 
        conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT')
        conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO')