1
Description: Append library version to plugin dir
2
Install plugins into a versioned directory to allow co-installation of
3
different versions of the library.
4
Author: Felipe Sateler <fsateler@gmail.com>
8
tmp = '%s/lib64/csound/plugins' % commonEnvironment['prefix']
9
if commonEnvironment['useDouble'] != '0':
11
+ tmp += '-' + csoundLibraryVersion
12
s = '-DCS_DEFAULT_PLUGINDIR=\\"%s\\"' % tmp
13
csoundLibraryEnvironment.Append(CPPFLAGS = [s])
14
elif buildOSXFramework != 0:
16
PLUGIN_DIR = LIB_DIR + "/csound/plugins"
18
PLUGIN_DIR = LIB_DIR + "/csound/plugins64"
19
+if getPlatform() == 'linux':
20
+ PLUGIN_DIR += '-' + csoundLibraryVersion
22
if commonEnvironment['install'] == '1':
23
installExecutables = Alias('install-executables',