Fix cross-compile (undefined references for canvas-tests)

This commit is contained in:
Robin Gareus 2021-09-19 23:38:44 +02:00
parent bcb9487c39
commit 29f96ad13e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -99,7 +99,9 @@ def build(bld):
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ] obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
# interactive (non-automated, non-cppunit) canvas tests # interactive (non-automated, non-cppunit) canvas tests
if True : # bld.env['BUILD_TESTS']: # fails to link when cross-compiling (lacks libpbd dependencies
# uselib = 'GLIBMM SIGCPP XML UUID SNDFILE GIOMM ARCHIVE CURL'
if False : # bld.env['BUILD_TESTS']:
constraint_test_src = [ 'test/interactive/constraint_test.cc' ] constraint_test_src = [ 'test/interactive/constraint_test.cc' ]
constraint_test = bld (features = 'cxx cxxprogram') constraint_test = bld (features = 'cxx cxxprogram')
constraint_test.source = constraint_test_src constraint_test.source = constraint_test_src