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 \