aboutsummaryrefslogtreecommitdiff
path: root/community/notmuch/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/notmuch/build')
-rwxr-xr-xcommunity/notmuch/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/community/notmuch/build b/community/notmuch/build
index 08beaa86..b48f9221 100755
--- a/community/notmuch/build
+++ b/community/notmuch/build
@@ -4,7 +4,12 @@
--prefix=/usr \
--without-docs \
--without-api-docs \
- --without-ruby || :
+ --without-ruby
make
make DESTDIR="$1" install
+
+# For some reason, notmuch doesn't accept the --enable-static/shared options.
+# It builds a static library when you run 'make', but it doesn't install the
+# built library. Confusing.
+install -Dm755 lib/libnotmuch.a "$1/usr/lib/libnotmuch.a"