diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2002-07-31 17:43:02 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2002-07-31 17:43:02 +0000 |
commit | 06ea1ab5a77e699d5d0ff772af74f1221159b86e (patch) | |
tree | 238d8c4947b2fef2eea2f1a72fc6b20fa22d3a43 | |
parent | 13555b04bf30617f0a7e2cda9265b37112799d9e (diff) | |
download | drakx-06ea1ab5a77e699d5d0ff772af74f1221159b86e.tar drakx-06ea1ab5a77e699d5d0ff772af74f1221159b86e.tar.gz drakx-06ea1ab5a77e699d5d0ff772af74f1221159b86e.tar.bz2 drakx-06ea1ab5a77e699d5d0ff772af74f1221159b86e.tar.xz drakx-06ea1ab5a77e699d5d0ff772af74f1221159b86e.zip |
lib64 fixes
-rw-r--r-- | perl-install/c/Makefile.PL | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL index 9a27c3592..c2527e2a0 100644 --- a/perl-install/c/Makefile.PL +++ b/perl-install/c/Makefile.PL @@ -1,10 +1,13 @@ +use MDK::Common; use ExtUtils::MakeMaker; use Config; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. +my $lib = arch() =~ /x86_64/ ? 'lib64' : 'lib'; + my $libs = '-lldetect -lext2fs'; -$libs .= ' -L/usr/X11R6/lib -lX11 -lgdk -lXxf86misc' if $ENV{C_DRAKX}; +$libs .= " -L/usr/X11R6/$lib -lX11 -lgdk -lXxf86misc" if $ENV{C_DRAKX}; $libs .= ' -lrpm -lrpmdb -lrpmio -lpopt -lz' if $ENV{C_RPM}; my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia_' : ''; |