Set LD_LIBRARY_PATH when running C examples too
This is needed to find the SWIG-generated shared library when using C too, as it's already the case for many (but, surprisingly, not all) other target languages.
This commit is contained in:
parent
d2e3cce7d4
commit
5bbaecfb81
1 changed files with 1 additions and 1 deletions
|
|
@ -1389,7 +1389,7 @@ c_syntax_check:
|
|||
# -----------------------------------------------------------------
|
||||
|
||||
c_run: c_compile
|
||||
$(RUNTOOL) ./$(RUNME) $(RUNPIPE)
|
||||
env LD_LIBRARY_PATH=$$PWD $(RUNTOOL) ./$(RUNME) $(RUNPIPE)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
# Version display
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue