From: Dobrica Pavlinusic Date: Mon, 2 Jan 2006 23:07:14 +0000 (+0000) Subject: use pkg-config X-Git-Tag: 0.07_3~11 X-Git-Url: http://git.rot13.org/?p=perl-fuse.git;a=commitdiff_plain;h=b767baa27189b6c377ffa144a40830b5e41739a4 use pkg-config git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/fuse/perl-llin@29 6e4b0b00-1209-0410-87b2-b275959b5705 --- diff --git a/Makefile.PL b/Makefile.PL index 78bee8a..b6ca8ea 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,7 +11,7 @@ WriteMakefile( 'LIBS' => [''], # e.g., '-lm' 'DEFINE' => '-g -ggdb', # e.g., '-DHAVE_SOMETHING' # Insert -I. if you add *.h files later: - 'INC' => '-I../include', # e.g., '-I/usr/include/other' + 'INC' => `pkg-config --cflags` . '-I ../include', # e.g., '-I/usr/include/other' # Un-comment this if you add C files to link with later: - 'OBJECT' => 'Fuse.o -lfuse -lpthread', # link all the C files too + 'OBJECT' => `pkg-config --libs fuse` . ' Fuse.o -lpthread', # link all the C files too );