From 17c53aba93fce36c9180b9de002cd6aacf15813b Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 27 May 2023 09:29:33 -0400 Subject: issue #18: cross-build issue in util Modify link rule for utils/makestrs to use $(CC_FOR_BUILD) directly, avoiding libtool flags added when cross-compiling the library. Signed-off-by: Thomas E. Dickey --- util/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/Makefile.am b/util/Makefile.am index f2dd1f9..0bfb62e 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -4,6 +4,9 @@ CC = @CC_FOR_BUILD@ CPPFLAGS = @CPPFLAGS_FOR_BUILD@ CFLAGS = @CFLAGS_FOR_BUILD@ LDFLAGS = @LDFLAGS_FOR_BUILD@ +LIBS = +LINK = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ +EXEEXT = @EXEEXT_FOR_BUILD@ EXTRA_DIST = \ Shell.ht \ -- cgit v1.2.3