]> granicus.if.org Git - graphviz/commitdiff
remove -no-undefined from libexpr LDFLAGS because of "extern char **environ"
authorellson <devnull@localhost>
Tue, 18 Oct 2005 20:57:59 +0000 (20:57 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 20:57:59 +0000 (20:57 +0000)
in lib/ast/pathpath.c

lib/expr/Makefile.am

index c3c7da546e7e4c6ccef6860832f5a9e28d3ad2b2..37ec4171dc3aa44561a1deeac4ff25c054dbb65d 100644 (file)
@@ -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 \