From 1f8e7a881ab47b222ba7aa473490541c69b9976b Mon Sep 17 00:00:00 2001 From: Igor Todorovski Date: Wed, 25 Jan 2023 22:17:10 -0500 Subject: [PATCH] Fix linker error with __fopen_ascii by adding LIBS --- patches/Makefile.in.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/Makefile.in.patch diff --git a/patches/Makefile.in.patch b/patches/Makefile.in.patch new file mode 100644 index 0000000..25ab1fe --- /dev/null +++ b/patches/Makefile.in.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index 0b4df73..7fb3ecc 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -145,7 +145,7 @@ LOCALE_DEFS = -DLOCALEDIR='"$(localedir)"' -DPACKAGE='"$(PACKAGE)"' + + LOCAL_LIBS = @LOCAL_LIBS@ + LIBS = $(BUILTINS_LIB) $(LIBRARIES) @LIBS@ +-LIBS_FOR_BUILD = ++LIBS_FOR_BUILD = @LIBS@ + + STATIC_LD = @STATIC_LD@ + LOCAL_LDFLAGS = @LOCAL_LDFLAGS@