silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / by-name / lm / lmdb / bin-ext.patch
blob2d5af99772c0ee991c553d2d2b3a4ed4a2cbb4f2
1 diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
2 index 612484e..2e6b562 100644
3 --- a/libraries/liblmdb/Makefile
4 +++ b/libraries/liblmdb/Makefile
5 @@ -27,6 +27,7 @@ CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
6 LDLIBS =
7 SOLIBS =
8 SOEXT = .so
9 +BINEXT =
10 prefix = /usr/local
11 exec_prefix = $(prefix)
12 bindir = $(exec_prefix)/bin
13 @@ -49,7 +50,7 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
14 mkdir -p $(DESTDIR)$(libdir)
15 mkdir -p $(DESTDIR)$(includedir)
16 mkdir -p $(DESTDIR)$(mandir)/man1
17 - for f in $(IPROGS); do cp $$f $(DESTDIR)$(bindir); done
18 + for f in $(IPROGS); do cp $$f$(BINEXT) $(DESTDIR)$(bindir); done
19 for f in $(ILIBS); do cp $$f $(DESTDIR)$(libdir); done
20 for f in $(IHDRS); do cp $$f $(DESTDIR)$(includedir); done
21 for f in $(IDOCS); do cp $$f $(DESTDIR)$(mandir)/man1; done