ref: b712146c4cd22929e97320510e48d30e9145e9b4
parent: 5e1c04fb4985014aeeecb00f41270166d1ade1ee
author: Paul Brossier <piem@piem.org>
date: Fri Mar 22 06:26:22 EDT 2013
src/wscript_build: install lib anyway
--- a/src/wscript_build
+++ b/src/wscript_build
@@ -15,8 +15,11 @@
# build libaubio
from waflib import Options
-if Options.platform == 'ios': build_lib_func = ctx.stlib
-else: build_lib_func = ctx.shlib
+if Options.platform == 'ios':
+ build_lib_func = ctx.stlib
+else:
+ build_lib_func = ctx.shlib
+
build_lib_func(
includes = ['.'],
source = source,
@@ -23,10 +26,10 @@
target = 'aubio',
lib = 'm',
uselib = uselib,
+ install_path = '${PREFIX}/lib',
vnum = ctx.env['LIB_VERSION'])
# install headers, except _priv.h ones
ctx.install_files('${PREFIX}/include/aubio/',
-
ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']),
relative_trick=True)