13
0

libpbd signals.h depends on signals_generated.h

This fixes building with large concurrency where signals_generated.h
may otherwise be generated to late.
This commit is contained in:
Robin Gareus 2020-10-15 05:45:51 +02:00
parent 5daed56439
commit fe8a05d6c9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -152,7 +152,7 @@ def build(bld):
'LIBPBD_MAJOR_VERSION' : LIBPBD_MAJOR_VERSION})
# Make signals_generated.h using signals.py
bld(rule = sys.executable + ' ${SRC} ${TGT}', source = 'pbd/signals.py', target = 'pbd/signals_generated.h')
bld(rule = sys.executable + ' ${SRC} ${TGT}', source = 'pbd/signals.py', target = 'pbd/signals_generated.h', name="pbdsignals")
# Library
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
@ -171,6 +171,7 @@ def build(bld):
obj.includes = ['.']
obj.name = 'libpbd'
obj.target = 'pbd'
obj.use = 'pbdsignals'
obj.uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL XML'
if sys.platform == 'darwin':
TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']