dev/vala/shared_library/test_lin.sh

7 lines
217 B
Bash
Raw Normal View History

2013-02-07 14:52:39 +04:00
#!/bin/sh
valac --library=test_shared -H test_shared.h test_shared.vala -X -fPIC -X -shared -o test_shared.so
valac test_shared.vapi main.vala -X test_shared.so -X -I. -o valatest
export LD_LIBRARY_PATH=.
./valatest