# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-make -f Makefile-pl test
+export LD_LIBRARY_PATH=../src/.libs
+export LIBGUESTFS_PATH=$(cd .. && pwd)
+make -f Makefile-pl test "$@"