diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2023-05-27 09:29:33 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2023-05-27 09:32:51 -0400 |
commit | 17c53aba93fce36c9180b9de002cd6aacf15813b (patch) | |
tree | de46083852c5541548880aaa82258504e9113e81 | |
parent | 84fa033e9f7f1567f6174bf5e18cb7fb37914aa7 (diff) |
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 <dickey@invisible-island.net>
-rw-r--r-- | util/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ |