From be4f38067f55793b8e65f76a6b2bc0158cd98c58 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 20:57:59 +0000 Subject: [PATCH] remove -no-undefined from libexpr LDFLAGS because of "extern char **environ" in lib/ast/pathpath.c --- lib/expr/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/expr/Makefile.am b/lib/expr/Makefile.am index c3c7da546..37ec4171d 100644 --- a/lib/expr/Makefile.am +++ b/lib/expr/Makefile.am @@ -14,7 +14,12 @@ pkglib_LTLIBRARIES = libexpr.la man_MANS = expr.3 pdf_DATA = expr.pdf -libexpr_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined +#### -no-undefined breaks Mac OS/X builds. +#### libast has "extern char **environ" which remains +#### undefined until linked with main() +#libexpr_la_LDFLAGS = -version-info @VERSION_INFO@ -no-undefined + +libexpr_la_LDFLAGS = -version-info @VERSION_INFO@ libexpr_la_SOURCES = excc.c excontext.c exdata.c exerror.c \ exeval.c exexpr.c exlexname.c exopen.c exrewind.c extoken.c \ -- 2.50.1