summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-01-09 20:05:06 +0000
committerDavid Robillard <d@drobilla.net>2015-01-09 20:05:06 +0000
commit4067bd81444736ddd7047210e2afdaaf9eaeaf40 (patch)
tree5cd70895cc5f4247996c321e044dfec7d063e9c7 /wscript
parent1dff3fea90f2dc43a8bfc782eb88512344c1b5ae (diff)
downloadpatchage-4067bd81444736ddd7047210e2afdaaf9eaeaf40.tar.gz
patchage-4067bd81444736ddd7047210e2afdaaf9eaeaf40.tar.bz2
patchage-4067bd81444736ddd7047210e2afdaaf9eaeaf40.zip
Fix OSX integration.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5504 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 6 insertions, 6 deletions
diff --git a/wscript b/wscript
index 5e38fda..dd20921 100644
--- a/wscript
+++ b/wscript
@@ -62,7 +62,7 @@ def configure(conf):
if conf.env.DEST_OS == 'darwin':
autowaf.check_pkg(conf, 'gtk-mac-integration', uselib_store='GTK_OSX',
- atleast_version='1.0.0', mandatory=True)
+ atleast_version='1.0.0', mandatory=False)
if conf.env.HAVE_GTK_OSX:
autowaf.define(conf, 'PATCHAGE_GTK_OSX', 1)
@@ -99,10 +99,10 @@ def configure(conf):
autowaf.define(conf, 'PATCHAGE_BINLOC', 1)
# Boost headers
- autowaf.check_header(conf, 'cxx', 'boost/format.hpp')
- autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp')
- autowaf.check_header(conf, 'cxx', 'boost/utility.hpp')
- autowaf.check_header(conf, 'cxx', 'boost/weak_ptr.hpp')
+ conf.check_cxx(header_name='boost/format.hpp')
+ conf.check_cxx(header_name='boost/shared_ptr.hpp')
+ conf.check_cxx(header_name='boost/utility.hpp')
+ conf.check_cxx(header_name='boost/weak_ptr.hpp')
conf.env.PATCHAGE_VERSION = PATCHAGE_VERSION
@@ -187,7 +187,7 @@ def build(bld):
target = out_base + 'Resources/Patchage.icns')
# Gtk/Pango/etc configuration files
- for i in ['pangorc', 'pango.modules', 'gtkrc', 'fonts.conf']:
+ for i in ['pangorc', 'pango.modules', 'gtkrc']:
bld(rule = 'cp ${SRC} ${TGT}',
source = 'osx/' + i,
target = out_base + 'Resources/' + i)