mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-26 07:37:57 +00:00
build: Fix "make install" in MSVC builds with --enable-shared.
The problem was that intl-8.dll was not installed with execute permissions. * gettext-runtime/intl/Makefile.am (install-exec-libintl): Use $(INSTALL), not $(INSTALL_DATA), with libtool --mode=install. * INSTALL.windows: Remove constraint to use --disable-shared on MSVC.
This commit is contained in:
parent
f02b67c633
commit
26a6fa7729
@ -78,10 +78,6 @@ There are three ways to create binaries of this package for Microsoft Windows:
|
||||
(api-ms-win*.dll) through the Windows Update mechanism, see
|
||||
https://support.microsoft.com/en-us/kb/2999226 .
|
||||
|
||||
Another constraint is that shared libraries built as part of this package
|
||||
may not work (at least with MSVC 14.0). Therefore, you will need to pass
|
||||
the configure option '--disable-shared' when building this package.
|
||||
|
||||
This recipe requires MS Visual C/C++ 9.0 or newer.
|
||||
You don't need the Visual Studio IDE, just the C/C++ tool chain.
|
||||
As of 2016, you can install the MS Visual C/C++ 14.0 tool chain from
|
||||
|
||||
@ -464,7 +464,7 @@ install-exec-local: install-exec-libintl
|
||||
install-exec-libintl: libintl.la
|
||||
$(mkdir_p) $(DESTDIR)$(libdir)
|
||||
$(LIBTOOL) --mode=install \
|
||||
$(INSTALL_DATA) libintl.la $(DESTDIR)$(libdir)/libintl.la; \
|
||||
$(INSTALL) libintl.la $(DESTDIR)$(libdir)/libintl.la; \
|
||||
if test "@RELOCATABLE@" = yes; then \
|
||||
dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < $(DESTDIR)$(libdir)/libintl.la | sed -e "s,^',," -e "s,'\$$,,"`; \
|
||||
if test -n "$$dependencies"; then \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user