aboutsummaryrefslogtreecommitdiff
path: root/Perl
diff options
context:
space:
mode:
Diffstat (limited to 'Perl')
-rw-r--r--Perl/Makefile.PL9
1 files changed, 5 insertions, 4 deletions
diff --git a/Perl/Makefile.PL b/Perl/Makefile.PL
index c453a5b..a366b55 100644
--- a/Perl/Makefile.PL
+++ b/Perl/Makefile.PL
@@ -1,16 +1,17 @@
-
+#
+# The first argument should be the name of the radar library
+# either ptkradar or ptkradr_debug for example.
+#
use Tk::MMutil;
use Tk::Config;
Tk::MMutil::TkExtMakefile(
'NAME' => 'Tk::Radar',
'OBJECT' => '$(O_FILES)',
- 'MYEXTLIB' => '../libptkradar.a',
'VERSION_FROM' => 'Radar.pm',
'XS_VERSION' => $Tk::Config::VERSION,
'INC' => "-I. -I/usr/lib/perl5/i386-linux/5.004/Tk/pTk",
- 'LIBS' => '-L/usr/X11R6/lib -lX11'
-);
+ 'LIBS' => "-L/usr/X11R6/lib -L.. -l$ARGV[0] -lX11");