diff options
author | David Robillard <d@drobilla.net> | 2019-04-13 15:24:45 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 15:45:24 +0200 |
commit | f48f9d69a541d758dc9928c0c89eae46819e660f (patch) | |
tree | 02be74793112d8b25a21728d326fe5d90afcf42a /src/server | |
parent | 72eb24e672bc4fb7f3c1102f2b95c01527688afd (diff) | |
download | ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.gz ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.bz2 ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.zip |
Clean up symbol table
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/DuplexPort.hpp | 5 | ||||
-rw-r--r-- | src/server/PortImpl.hpp | 2 | ||||
-rw-r--r-- | src/server/wscript | 7 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp index 5b2c1e9e..59b3cb51 100644 --- a/src/server/DuplexPort.hpp +++ b/src/server/DuplexPort.hpp @@ -53,8 +53,9 @@ class RunContext; * * \ingroup engine */ -class DuplexPort : public InputPort - , public boost::intrusive::slist_base_hook<> // In GraphImpl +class INGEN_API DuplexPort + : public InputPort + , public boost::intrusive::slist_base_hook<> // In GraphImpl { public: DuplexPort(BufferFactory& bufs, diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp index 2fb377b0..902e2cfa 100644 --- a/src/server/PortImpl.hpp +++ b/src/server/PortImpl.hpp @@ -43,7 +43,7 @@ class BlockImpl; * * \ingroup engine */ -class PortImpl : public NodeImpl +class INGEN_API PortImpl : public NodeImpl { public: struct SetState { diff --git a/src/server/wscript b/src/server/wscript index 8d1ec90d..2f95148a 100644 --- a/src/server/wscript +++ b/src/server/wscript @@ -74,7 +74,7 @@ def build(bld): target = 'ingen_jack', install_path = '${LIBDIR}', use = 'libingen_server', - cxxflags = bld.env.PTHREAD_CFLAGS, + cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs + ' JACK') @@ -86,7 +86,7 @@ def build(bld): target = 'ingen_portaudio', install_path = '${LIBDIR}', use = 'libingen_server', - cxxflags = bld.env.PTHREAD_CFLAGS, + cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs + ' PORTAUDIO') @@ -94,11 +94,12 @@ def build(bld): if bld.env.INGEN_BUILD_LV2: obj = bld(features = 'cxx cxxshlib', source = ' ingen_lv2.cpp ', + cflags = ['-fvisibility=hidden'], includes = ['.', '../..'], name = 'libingen_lv2', target = 'ingen_lv2', install_path = '${LV2DIR}/ingen.lv2/', use = 'libingen libingen_server', - cxxflags = bld.env.PTHREAD_CFLAGS, + cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS, linkflags = bld.env.PTHREAD_LINKFLAGS) autowaf.use_lib(bld, obj, core_libs) |