summaryrefslogtreecommitdiffstats
path: root/MESON_FUNCTIONS
diff options
context:
space:
mode:
authorTreeve Jelbert2018-04-13 11:01:29 +0200
committerTreeve Jelbert2018-04-13 11:01:29 +0200
commit5a42b05b73632922b2bb6ace95fafd12d85c7236 (patch)
treea774f1f1e015c5672318fbfb549ee258e7cc0b38 /MESON_FUNCTIONS
parent89c51347569bc99ad70c0dd3c124e8751dc80491 (diff)
MESON_FUNCTIONS would cause .pc files to bad cflags arguments -I.
There were 2 '/' symbols following the '-I' These flags then got propogated to other pkgconfig files, finally causing build problems for things like qtwebengine
Diffstat (limited to 'MESON_FUNCTIONS')
-rwxr-xr-xMESON_FUNCTIONS3
1 files changed, 2 insertions, 1 deletions
diff --git a/MESON_FUNCTIONS b/MESON_FUNCTIONS
index ca69368e4d..7a346900cf 100755
--- a/MESON_FUNCTIONS
+++ b/MESON_FUNCTIONS
@@ -4,7 +4,8 @@ meson_build () {
MESON_BUILD_TYPE="${MESON_BUILD_TYPE:-release}"
# export LANG=$LC_ALL
cd $SOURCE_DIRECTORY
- SCRIPT="meson --prefix ${INSTALL_ROOT}/$PREFIX --buildtype ${MESON_BUILD_TYPE} \
+# do not put / before PREFIX
+ SCRIPT="meson --prefix ${INSTALL_ROOT}$PREFIX --buildtype ${MESON_BUILD_TYPE} \
--default-library shared --libdir lib"
for LL in $OPTS; do
SCRIPT+=" -D$LL"