From 70e2fe5661f7651c20a696fcd48c09cfe63c6eb2 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Thu, 22 Jul 2010 12:44:39 +0000 Subject: define PACKAGE_NAME in USER/Makefile.PL, it is useless in top Makefile --- USER/Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'USER') diff --git a/USER/Makefile.PL b/USER/Makefile.PL index d847317..1b8d5fa 100644 --- a/USER/Makefile.PL +++ b/USER/Makefile.PL @@ -11,7 +11,7 @@ WriteMakefile( 'VERSION_FROM' => 'USER.pm', 'OBJECT' => 'USER.o', # link all the C files too 'LIBS' => "$libs", # e.g., '-lm' - 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' + 'DEFINE' => '-DPACKAGE_NAME=userdrake', # e.g., '-DHAVE_SOMETHING' 'INC' => "`pkg-config --cflags libuser`", # e.g., '-I. -I/usr/include/other' 'XSPROTOARG' => '-noprototypes', 'TYPEMAPS' => ['../perlobject.map' ], -- cgit v1.2.1