add -fvisibility=hidden to libmidi++ and make things work
This commit is contained in:
parent
61c1956ef9
commit
300536e5cd
@ -425,7 +425,7 @@ private:
|
||||
MasterDeviceNames::Models _all_models;
|
||||
};
|
||||
|
||||
extern const char* general_midi_program_names[128]; /* 0 .. 127 */
|
||||
LIBMIDIPP_API extern const char* general_midi_program_names[128]; /* 0 .. 127 */
|
||||
|
||||
}
|
||||
|
||||
|
@ -64,6 +64,8 @@ def build(bld):
|
||||
obj = bld.shlib(features = 'cxx cxxshlib', source=libmidi_sources)
|
||||
obj.defines = [ 'LIBMIDIPP_DLL=1', 'LIBMIDIPP_DLL_EXPORTS=1' ]
|
||||
obj.defines += [ 'LIBPBD_DLL=1', 'LIBEVORAL_DLL=1' ]
|
||||
obj.cxxflags = [ '-fvisibility=hidden' ]
|
||||
obj.cflags = [ '-fvisibility=hidden' ]
|
||||
else:
|
||||
obj = bld.stlib(features = 'cxx cxxstlib', source=libmidi_sources)
|
||||
obj.cxxflags = [ '-fPIC', '-DWITH_JACK_MIDI' ]
|
||||
|
Loading…
Reference in New Issue
Block a user