From 06ea1ab5a77e699d5d0ff772af74f1221159b86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 31 Jul 2002 17:43:02 +0000 Subject: lib64 fixes --- perl-install/c/Makefile.PL | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/c') 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_' : ''; -- cgit v1.2.1