aboutsummaryrefslogtreecommitdiff
path: root/desktop/leftwm/leftwm.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-07-30 19:44:52 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-05 10:08:47 +0700
commit8278c053d651f4eb7efc76dfd08ac2b8befc7af5 (patch)
tree36e9d7f249a1d07757d145e44c37daf8664c20a3 /desktop/leftwm/leftwm.SlackBuild
parent1e58337a268f3979f0015dc2e726f3c418a8ea42 (diff)
desktop/leftwm: Fix rust build.
rust-for-mozilla is a moving target. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/leftwm/leftwm.SlackBuild')
-rw-r--r--desktop/leftwm/leftwm.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/leftwm/leftwm.SlackBuild b/desktop/leftwm/leftwm.SlackBuild
index 9098f37170..d27a85272a 100644
--- a/desktop/leftwm/leftwm.SlackBuild
+++ b/desktop/leftwm/leftwm.SlackBuild
@@ -142,6 +142,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export PATH="/opt/rust16/bin:$PATH"
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX"
+else
+ export LD_LIBRARY_PATH="/opt/rust16/lib$LIBDIRSUFFIX:$LD_LIBRARY_PATH"
+fi
+
CARGO_HOME=.cargo \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \