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)
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