openbsd-ports/lang/spidermonkey/patches/patch-src_Makefile_ref
martynas f2cc6c9271 update to spidermonkey-1.7.0v0. from Benoit Chesneau with couple
of tweaks from naddy@ and myself.
full bulk build done by naddy@ and jasper@
ok naddy@
2009-05-05 21:01:55 +00:00

13 lines
496 B
Plaintext

$OpenBSD: patch-src_Makefile_ref,v 1.3 2009/05/05 21:01:55 martynas Exp $
--- src/Makefile.ref.orig Sun Feb 1 09:53:09 2009
+++ src/Makefile.ref Sun Feb 1 09:54:00 2009
@@ -336,7 +336,7 @@ $(PROGRAM): $(PROG_OBJS) $(LIBRARY)
link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
else
$(PROGRAM): $(PROG_OBJS) $(LIBRARY)
- $(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
+ $(CC) -o $@ $(CFLAGS) $(PROG_OBJS) -L$(OBJDIR) -ljs $(LDFLAGS) $(OTHER_LIBS) \
$(PROG_LIBS)
endif