From 4645e219133458781e3fb48eaea6a74cccb1b9aa Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 30 Apr 2019 14:39:06 +0100 Subject: [PATCH] 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 --- src/util/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Makefile.am b/src/util/Makefile.am index a051567a..37314370 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -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@