summaryrefslogtreecommitdiff
blob: 5cf45084f8f271dd0a857be3b923a0ea51191200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -uNr opal-3.14.0.orig/make/toplevel.mak opal-3.14.0/make/toplevel.mak
--- opal-3.14.0.orig/make/toplevel.mak	2014-03-21 05:28:27.230000001 -0400
+++ opal-3.14.0/make/toplevel.mak	2014-03-21 05:31:07.290000001 -0400
@@ -368,15 +368,15 @@
 ifneq (,$(SWIG))
   ifeq ($(OPAL_JAVA), yes)
     JAVA_SRCDIR      = $(OPAL_SRCDIR)/java
-    JAVA_WRAPPER     = $(JAVA_SRCDIR)/java_swig_wrapper.c
-    VPATH_C         += $(JAVA_SRCDIR)
+    JAVA_WRAPPER     = $(JAVA_SRCDIR)/java_swig_wrapper.cxx
+    VPATH_CXX       += $(JAVA_SRCDIR)
     SOURCES         += $(JAVA_WRAPPER)
   endif
 
   ifeq ($(OPAL_RUBY), yes)
-    RUBY_SRCDIR      = $(OPAL_SRCDIR)/ruby
-    RUBY_WRAPPER     = $(JAVA_SRCDIR)/ruby_swig_wrapper.c
-    VPATH_C         += $(RUBY_SRCDIR)
+    RUBY_SRCDIR      = $(OPAL_SRCDIR)/Ruby
+    RUBY_WRAPPER     = $(RUBY_SRCDIR)/ruby_swig_wrapper.cxx
+    VPATH_CXX       += $(RUBY_SRCDIR)
     SOURCES         += $(RUBY_WRAPPER)
   endif
 endif # SWIG