diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-08 02:28:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-08 02:28:42 +0000 |
commit | 0e32134ed4f3481f561ce7415b14285acbc10822 (patch) | |
tree | 62558c97299a04742d96be8bd4caaf0e997e3caf /libs/pbd | |
parent | b6b0d83965352bec76ede5e69b8ea99da100749c (diff) |
build-side of UUID reversion
git-svn-id: svn://localhost/ardour2/branches/3.0@8764 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/wscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 81d3634620..eaa6231a2d 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -36,6 +36,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') + 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') @@ -48,7 +50,7 @@ def configure(conf): # Boost headers autowaf.check_header(conf, 'boost/shared_ptr.hpp') autowaf.check_header(conf, 'boost/weak_ptr.hpp') - autowaf.check_header(conf, 'boost/uuid/uuid.hpp') + # autowaf.check_header(conf, 'boost/uuid/uuid.hpp') def build(bld): # Library @@ -113,7 +115,7 @@ def build(bld): obj.includes = ['.'] obj.name = 'libpbd' obj.target = 'pbd' - obj.uselib = 'GLIBMM SIGCPP XML SNDFILE' + obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE' if sys.platform == 'darwin': TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc'] obj.source += 'cocoa_open_uri.mm' |