summaryrefslogtreecommitdiff
path: root/network/js/dynamic-link.patch
diff options
context:
space:
mode:
authorDavid Woodfall <dave@unrealize.co.uk>2010-05-12 17:43:34 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:34 +0200
commit15858a58c6471e5b001c75b96de23064be19c7f3 (patch)
tree7c0c8aa024236ec90024da6ba2878fde61807f79 /network/js/dynamic-link.patch
parentae10280ca1d124c82b4bf4422ad554f884e34beb (diff)
downloadslackbuilds-15858a58c6471e5b001c75b96de23064be19c7f3.tar.gz
network/js: Updated for version 1.7.0
Diffstat (limited to 'network/js/dynamic-link.patch')
-rw-r--r--network/js/dynamic-link.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/js/dynamic-link.patch b/network/js/dynamic-link.patch
new file mode 100644
index 0000000000..5a62c74fbb
--- /dev/null
+++ b/network/js/dynamic-link.patch
@@ -0,0 +1,13 @@
+--- js.orig/src/Makefile.ref 2006-07-26 20:16:47.000000000 +0100
++++ js/src/Makefile.ref 2009-01-03 19:05:28.000000000 +0000
+@@ -335,8 +335,8 @@
+ $(PROGRAM): $(PROG_OBJS) $(LIBRARY)
+ link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
+ else
+-$(PROGRAM): $(PROG_OBJS) $(LIBRARY)
+- $(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
++$(PROGRAM): $(PROG_OBJS) $(SHARED_LIBRARY)
++ $(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) -L$(OBJDIR) -ljs $(OTHER_LIBS) \
+ $(PROG_LIBS)
+ endif
+