--- js/src/Makefile.in.orig Wed Oct 18 09:23:09 2006 +++ js/src/Makefile.in Wed Oct 18 09:27:27 2006 @@ -244,6 +244,7 @@ endif LDFLAGS += $(pathsubst -l%,$(NSPR_STATIC_PATH)/%.a,$(NSPR_LIBS)) +LDFLAGS += -lc # BeOS and HP-UX do not require the extra linking of "-lm" ifeq (,$(filter BeOS HP-UX WINNT WINCE OpenVMS,$(OS_ARCH)))