$NetBSD: patch-aa,v 1.7 2001/10/16 04:54:24 jlam Exp $ --- Makefile.in.orig Sat Apr 21 21:09:12 2001 +++ Makefile.in @@ -19,7 +19,7 @@ PROGRAM_NAME = php PROGRAM_SOURCES = stub.c PROGRAM_LDADD = libphp4.la $(EXT_PROGRAM_LDADD) -PROGRAM_LDFLAGS = -export-dynamic +PROGRAM_LDFLAGS = -static -export-dynamic $(LINK_LIBGCC_LDFLAGS) PROGRAM_DEPENDENCIES = $(PROGRAM_LDADD) targets = $(LTLIBRARY_NAME) $(PHP_PROGRAM)