Rename dll/shared object name to be the same as the module name for R - _wrap is no longer postfixed to the name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1f36b6e0b0
commit
5fd4c72220
1 changed files with 2 additions and 2 deletions
|
|
@ -1035,11 +1035,11 @@ RRSRC = $(INTERFACE:.i=.R)
|
|||
|
||||
r: $(SRCS)
|
||||
$(SWIG) -r $(SWIGOPT) -o $(RSRCS) $(INTERFACE)
|
||||
+( PKG_LIBS="$(SRCS)" PKG_CPPFLAGS="$(INCLUDES)" $(R) CMD SHLIB $(RSRCS) )
|
||||
+( PKG_CPPFLAGS="$(INCLUDES)" $(R) CMD SHLIB -o $(LIBPREFIX)$(TARGET)$(SO) $(RSRCS) $(SRCS) )
|
||||
|
||||
r_cpp: $(CXXSRCS)
|
||||
$(SWIG) -c++ -r $(SWIGOPT) -o $(RCXXSRCS) $(INTERFACE)
|
||||
+( PKG_LIBS="$(CXXSRCS)" PKG_CPPFLAGS="$(INCLUDES)" $(R) CMD SHLIB $(RCXXSRCS) )
|
||||
+( PKG_CPPFLAGS="$(INCLUDES)" $(R) CMD SHLIB -o $(LIBPREFIX)$(TARGET)$(SO) $(RCXXSRCS) $(CXXSRCS) )
|
||||
|
||||
r_clean:
|
||||
rm -f *_wrap* *~ .~* $(RSRCS) $(RCXXSRCS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue