diff options
author | Thomas Orgis | 2018-03-27 10:22:17 +0200 |
---|---|---|
committer | Thomas Orgis | 2018-03-27 10:22:17 +0200 |
commit | de38b9a17e2613c9a193de679d89f16be1857453 (patch) | |
tree | 6c8e43a7e5dc676bec6c71a2a4f0a706250abc6e /FUNCTIONS | |
parent | 7f8bf4fd1fa0bd6ce646b590cf1d0c52cf9b5036 (diff) |
FUNCTIONS: waf_build --libdir=$PREFIX/lib (not lib64)
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-x | FUNCTIONS | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -546,15 +546,18 @@ function note_config_files() { # so check first if they are supported.. function waf_build() { - local waf_opts="--prefix=$INSTALL_ROOT/usr" + local waf_opts="--prefix=$INSTALL_ROOT/usr" && # Some waf not know man, waf angry with man. if ./waf --help | grep -q -- --mandir; then waf_opts="$waf_opts --mandir=$INSTALL_ROOT/usr/share/man" - fi + fi && # Same with some other options. + if ./waf --help | grep -q -- --libdir; then + waf_opts="$waf_opts --libdir=$INSTALL_ROOT/usr/lib" + fi && if ./waf --help | grep -q -- --nocache; then waf_opts="$waf_opts --nocache" - fi + fi && if ./waf --help | grep -q -- --cxxflags=CXXFLAGS; then # Hack added for guitarix, maybe useful for others, too. # Needed to be able to enable C++11 mode. We hope to be able |