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:
parent
5c997a7551
commit
20de2657a4
@ -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')
|
||||
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user