aboutsummaryrefslogtreecommitdiff
path: root/extra/mlocate/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-16 17:45:36 +0300
committerCem Keylan <cem@ckyln.com>2021-07-16 17:45:54 +0300
commite2d29cc0beae1e850fff7e7982056cd21efff278 (patch)
tree1608d9fe4e04cd237679d7da4ce361d14b4ae097 /extra/mlocate/build
parent8d39fc768088a2e706c9c7c3244c52e2e00b85a1 (diff)
downloadrepository-e2d29cc0beae1e850fff7e7982056cd21efff278.tar.gz
mlocate: link statically
Diffstat (limited to 'extra/mlocate/build')
-rwxr-xr-xextra/mlocate/build8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/mlocate/build b/extra/mlocate/build
index e641b74d..f854c932 100755
--- a/extra/mlocate/build
+++ b/extra/mlocate/build
@@ -1,9 +1,11 @@
#!/bin/sh -e
+export LDFLAGS="$LDFLAGS -static"
+
./configure \
- --prefix=/usr \
- --disable-nls
+ --prefix=/usr \
+ --disable-nls \
+ --disable-rpath
make
-
make DESTDIR="$1" install