Patches courtesy Jeremy Lea <reg@shale.csir.co.za>

To wit:

Attached are a couple of small fixes for building in the js/ subdir.

These are for FreeBSD-CURRENT, and for building in a seperate OBJDIR.

The FreeBSD one is a quick and dirty.  The real fix is pobably just to
use OS_LDFLAGS as defined by configure...
This commit is contained in:
mccabe%netscape.com 1999-06-06 04:10:33 +00:00
parent cdea685c18
commit 93bf7039b9
2 changed files with 4 additions and 1 deletions

View File

@ -204,6 +204,9 @@ endif
ifeq ($(OS_ARCH), Linux)
LDFLAGS += -ldl
endif
ifeq ($(OS_ARCH), FreeBSD)
LDFLAGS += -pthread
endif
ifeq ($(OS_ARCH), OSF1)
LDFLAGS += -lc_r
endif

View File

@ -47,7 +47,7 @@ LIBS = \
# PROGS = $(OBJDIR)/TestXPC
TEST_FILES = testxpc.js xpctest_echo.js
TEST_FILES = $(srcdir)/testxpc.js $(srcdir)/xpctest_echo.js
# TARGETS= $(PROGS)