mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Resolve duplicate symbol 'cocoa_open_uri' on OSX builds.
cocoa_open_uri.mm was being added to the source list twice and also compiling twice. This patch enusres it is only added once.
This commit is contained in:
parent
23f738c699
commit
71c26e2820
1 changed files with 3 additions and 2 deletions
|
|
@ -128,6 +128,7 @@ def build(bld):
|
|||
obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM'
|
||||
if sys.platform == 'darwin':
|
||||
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']
|
||||
if 'cocoa_open_uri.mm' not in obj.source:
|
||||
obj.source += [ 'cocoa_open_uri.mm' ]
|
||||
obj.uselib += ' OSX'
|
||||
obj.vnum = LIBPBD_LIB_VERSION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue