aboutsummaryrefslogtreecommitdiff
path: root/extra/mlocate/build
diff options
context:
space:
mode:
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