aboutsummaryrefslogtreecommitdiff
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
parent8d39fc768088a2e706c9c7c3244c52e2e00b85a1 (diff)
downloadrepository-e2d29cc0beae1e850fff7e7982056cd21efff278.tar.gz
mlocate: link statically
-rwxr-xr-xextra/mlocate/build8
-rw-r--r--extra/mlocate/version2
2 files changed, 6 insertions, 4 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
diff --git a/extra/mlocate/version b/extra/mlocate/version
index f718ec45..aba24060 100644
--- a/extra/mlocate/version
+++ b/extra/mlocate/version
@@ -1 +1 @@
-0.26 1
+0.26 2