fix bindings generation process for OS X

git-svn-id: svn://localhost/ardour2/branches/3.0@10226 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-10-18 22:36:00 +00:00
parent 5c997a7551
commit 20de2657a4
2 changed files with 2 additions and 2 deletions

View File

@ -596,7 +596,7 @@ def build(bld):
obj = bld(
target = b + '.bindings',
source = b + '.bindings.in',
rule = '../tools/fmt-bindings --winkey="%s" --accelmap <${SRC} >${TGT}' % bld.env['WINDOWS_KEY']
rule = '../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap <${SRC} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
)
obj.install_path = os.path.join(bld.env['SYSCONFDIR'], 'ardour3')

View File

@ -29,7 +29,7 @@ GetOptions ("platform=s" => \$platform,
"accelmap" => \$make_accelmap,
"merge=s" => \$merge_from);
if ($platform eq "osx") {
if ($platform eq "darwin") {
$gtk_modifier_map{'PRIMARY'} = 'meta';
$gtk_modifier_map{'SECONDARY'} = 'Mod1';