Skip to content

Commit

Permalink
includes Canvas.so to objects...
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Jul 24, 2002
1 parent bb74d13 commit e30ca40
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# -*- perl -*-

use Tk::MMutil;
use Config;

# Find path to existing pTk include files
my $ptkPath = Tk::MMutil::findINC('Tk/pTk/Lang.h');
$ptkPath =~ s/\/Lang.h$//g;

use Tk::MMutil;
my $canvasSo = Tk::MMutil::findINC('auto/Tk/Canvas/Canvas.'.$Config{so});


Tk::MMutil::TkExtMakefile(
NAME => 'Tk::Canvas::Point',
OBJECT => '$(O_FILES)',
OBJECT => '$(O_FILES) ' . $canvasSo,
INC => "-I$ptkPath",
$^O eq 'MSWin32' ? () : ('LIBS' => ["-lm"]),
);

0 comments on commit e30ca40

Please sign in to comment.