From: ellson Date: Tue, 18 Oct 2005 20:57:59 +0000 (+0000) Subject: remove -no-undefined from libexpr LDFLAGS because of "extern char **environ" X-Git-Tag: LAST_LIBGRAPH~32^2~7123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be4f38067f55793b8e65f76a6b2bc0158cd98c58;p=graphviz remove -no-undefined from libexpr LDFLAGS because of "extern char **environ" in lib/ast/pathpath.c --- 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 \