Skip to content

Commit

Permalink
Fix regression in Javascript configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver7654 committed Feb 26, 2014
1 parent 348cb20 commit 7e015e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/javascript/Makefile.in
Expand Up @@ -14,7 +14,7 @@
CC = @CC@
# HACK: under OSX a g++ compiled interpreter is seg-faulting when loading module libraries
# with 'c++' it works... probably some missing flags?
CXX = @JSINTERPRETERCXX@
JSCXX = @JSINTERPRETERCXX@
CFLAGS = @BOOST_CPPFLAGS@ @PLATFLAGS@
LINKFLAGS = @JSINTERPRETERLINKFLAGS@

Expand Down Expand Up @@ -47,10 +47,10 @@ JS_INTERPRETER_SRC = javascript.cxx js_shell.cxx $(JS_INTERPRETER_SRC_JSC) $(JS_
JS_INTERPRETER_OBJS = $(JS_INTERPRETER_SRC:.cxx=.o)

%.o: %.cxx
$(CXX) $(JS_INTERPRETER_DEFINES) -g $(JSINCLUDES) -o $@ -c $<
$(JSCXX) $(JS_INTERPRETER_DEFINES) -g $(JSINCLUDES) -o $@ -c $<

javascript: $(JS_INTERPRETER_OBJS)
$(CXX) $(LINKFLAGS) $^ $(CFLAGS) -o javascript $(JSDYNAMICLINKING)
$(JSCXX) $^ $(CFLAGS) -o javascript $(JSDYNAMICLINKING) $(LINKFLAGS)

clean:
rm -f *.o
Expand Down

0 comments on commit 7e015e4

Please sign in to comment.