Call gcc for C in R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0e4e0672e0
commit
b9570501aa
1 changed files with 1 additions and 1 deletions
|
|
@ -1144,7 +1144,7 @@ R_CFLAGS=-fPIC
|
|||
r: $(SRCS)
|
||||
$(SWIG) -r $(SWIGOPT) $(INTERFACEPATH)
|
||||
ifneq ($(SRCS),)
|
||||
$(CXX) -g -c $(CFLAGS) $(R_CFLAGS) $(SRCS) $(INCLUDES)
|
||||
$(CC) -g -c $(CFLAGS) $(R_CFLAGS) $(SRCS) $(INCLUDES)
|
||||
endif
|
||||
+( PKG_CPPFLAGS="$(INCLUDES)" $(COMPILETOOL) $(R) CMD SHLIB -o $(LIBPREFIX)$(TARGET)$(SO) $(ISRCS) $(OBJS) > /dev/null )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue