Avoid using libtool wrapper for makekeys

For Windows targets, libtool uses a wrapper executable, not a wrapper
script (see [1]), which it compiles with the host compiler.  This
doesn't work when cross-compiling.

Since we don't actually need to link with anything, use the libtool flag
-all-static to tell it to stay completely out of this.

[1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html
This commit is contained in:
Jon Turney 2019-04-30 14:39:06 +01:00 committed by Alan Coopersmith
parent 6886d9ba06
commit 4645e21913

View file

@ -10,7 +10,7 @@ AM_CPPFLAGS = \
CC = @CC_FOR_BUILD@
CPPFLAGS = @CPPFLAGS_FOR_BUILD@
CFLAGS = @CFLAGS_FOR_BUILD@
LDFLAGS = @LDFLAGS_FOR_BUILD@
LDFLAGS = @LDFLAGS_FOR_BUILD@ -all-static
LIBS =
EXEEXT = @EXEEXT_FOR_BUILD@