diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-04-26 00:45:27 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-04-26 00:45:27 +0000 |
commit | 1da9bb0c26c5391146e7e8dd3119b76d5170ffe3 (patch) | |
tree | a4b8418d15394042df363fd9b60830aaa53f6c99 /libs/soundtouch | |
parent | 3c34cb7111a376d9b47fbc86373d2540b5368b6d (diff) |
Install ardour as a binary, a script and a set of shared
libraries. Libraries are discovered via {LD,DYLD}_LIBRARY_PATH
git-svn-id: svn://localhost/trunk/ardour2@481 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/soundtouch')
-rw-r--r-- | libs/soundtouch/SConscript | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/soundtouch/SConscript b/libs/soundtouch/SConscript index 40ee2fe6ce..d37fd1f99b 100644 --- a/libs/soundtouch/SConscript +++ b/libs/soundtouch/SConscript @@ -1,5 +1,7 @@ # -*- python -*- +import os +import os.path import glob soundtouch_files = Split(""" @@ -13,7 +15,7 @@ mmx_gcc.cpp cpu_detect_x86_gcc.cpp """) -Import('env') +Import('env install_prefix') st = env.Copy() st.Append(CCFLAGS="-DHAVE_CONFIG_H -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE") @@ -21,6 +23,8 @@ libst = st.SharedLibrary('soundtouch', soundtouch_files) Default(libst) +env.Alias('install', env.Install(os.path.join(install_prefix, 'lib/ardour2'), libst)) + env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript'] + soundtouch_files + glob.glob('*.h'))) |