Fix to linking problem for Linux in examples.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-maciekd@10600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Maciej Drwal 2008-06-28 00:06:33 +00:00
commit cdd920a6ca
9 changed files with 71 additions and 34 deletions

View file

@ -10,5 +10,5 @@ all::
TARGET='$(TARGET)' INTERFACE='$(INTERFACE)' MAIN='$(MAIN)' c_cpp
clean:
rm *.o
rm -f *.o *.out *.so *.a

6
Examples/c/class/test.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
./a.out