diff -urN perl.orig/Makefile.PL perl/Makefile.PL --- perl.orig/Makefile.PL 2005-09-06 00:09:48.000000000 +0900 +++ perl/Makefile.PL 2006-11-03 02:36:37.000000000 +0900 @@ -6,7 +6,7 @@ 'LD' => 'g++', 'NAME' => 'YamCha', 'VERSION_FROM' => 'YamCha.pm', # finds $VERSION - 'INC' => '-I/usr/local/include', - 'LIBS' => '-L/usr/local/lib -lm -lstdc++ -lyamcha', + 'INC' => '-I../src -I/usr/local/include', + 'LIBS' => '-L../src -L/usr/local/lib -lm -lstdc++ -lyamcha', 'OBJECT' => 'YamCha_wrap.o' ); diff -urN perl.orig/Makefile.PL.in perl/Makefile.PL.in --- perl.orig/Makefile.PL.in 2004-09-20 18:35:52.000000000 +0900 +++ perl/Makefile.PL.in 2006-11-03 02:36:23.000000000 +0900 @@ -6,7 +6,7 @@ 'LD' => '@CXX@', 'NAME' => 'YamCha', 'VERSION_FROM' => 'YamCha.pm', # finds $VERSION - 'INC' => '-I@prefix@/include', - 'LIBS' => '-L@prefix@/lib @YAMCHA_LIBS@ -lyamcha', + 'INC' => '-I../src -I@prefix@/include', + 'LIBS' => '-L../src -L@prefix@/lib @YAMCHA_LIBS@ -lyamcha', 'OBJECT' => 'YamCha_wrap.o' );