w32: Fix installing of .def file.
authorWerner Koch <wk@gnupg.org>
Thu, 18 Apr 2013 12:40:43 +0000 (14:40 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 22 May 2013 16:41:27 +0000 (18:41 +0200)
* src/Makefile.am (install-def-file): Create libdir first.
--

Reported-by: LRN <lrn1986@gmail.com>
src/Makefile.am

index 2fbe6ef..22263d9 100644 (file)
@@ -83,6 +83,7 @@ no_undefined = -no-undefined
 export_symbols = -export-symbols $(srcdir)/libgcrypt.def
 
 install-def-file:
+       -$(INSTALL) -d $(DESTDIR)$(libdir)
        $(INSTALL) $(srcdir)/libgcrypt.def $(DESTDIR)$(libdir)/libgcrypt.def
 
 uninstall-def-file: