aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:44:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:44:18 +0700
commit5291a186b0390bce329eb797d6d44c76496bcb86 (patch)
treef0ff0bdcb601b47751676228122be3a720489786
parent145bbed14b6f4f29fd0ffebe86971ccd4c88d6db (diff)
libraries/efl: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/efl/efl.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/efl/efl.SlackBuild b/libraries/efl/efl.SlackBuild
index 4a0d985c6698..34d8d83c89cc 100644
--- a/libraries/efl/efl.SlackBuild
+++ b/libraries/efl/efl.SlackBuild
@@ -85,12 +85,13 @@ meson . build \
# duplicate his problem, but it looks like some optional library normally
# adds the -lm -ldl in its pkgconfig file and he was missing whatever
# it was. In any case, adding them here won't hurt anything.
+"${NINJA:=ninja}"
LIBS="-lm -ldl" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-ninja -C build -v
+$NINJA -C build -v
-DESTDIR=$PKG ninja -C build install
+DESTDIR=$PKG $NINJA -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true