scilab: add SCRDIR as include dir + scilab needs absolute include paths
This commit is contained in:
parent
89dfb14605
commit
8dc3b59216
2 changed files with 6 additions and 2 deletions
|
|
@ -1710,10 +1710,13 @@ SCILAB_OPT = @SCILABOPT@
|
|||
define get_swig_scilab_args
|
||||
SWIG_SCILAB_ARGS := -scilab
|
||||
ifdef SRCS
|
||||
SWIG_SCILAB_ARGS += -addsrc "$(SRCDIR_SRCS)"
|
||||
SWIG_SCILAB_ARGS += -addsrc "$(SRCDIR_SRCS)"
|
||||
endif
|
||||
ifdef INCLUDES
|
||||
SWIG_SCILAB_ARGS += -addcflag "$(INCLUDES)"
|
||||
SWIG_SCILAB_ARGS += -addcflag "-I$(abspath $(INCLUDES))"
|
||||
endif
|
||||
ifdef SRCDIR
|
||||
SWIG_SCILAB_ARGS += -addcflag "-I$(abspath $(SRCDIR))"
|
||||
endif
|
||||
endef
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue