summaryrefslogtreecommitdiffstats
path: root/perl-install/c/Makefile.PL
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-23 13:06:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-23 13:06:27 +0000
commit54052b5bbce88566da97769138c97b397204c1d6 (patch)
tree32a896e5a317b736eee87d504aed6da659703f3a /perl-install/c/Makefile.PL
parent4de05bb2b24d0b71c358c200569ac0ff7d93e785 (diff)
downloaddrakx-backup-do-not-use-54052b5bbce88566da97769138c97b397204c1d6.tar
drakx-backup-do-not-use-54052b5bbce88566da97769138c97b397204c1d6.tar.gz
drakx-backup-do-not-use-54052b5bbce88566da97769138c97b397204c1d6.tar.bz2
drakx-backup-do-not-use-54052b5bbce88566da97769138c97b397204c1d6.tar.xz
drakx-backup-do-not-use-54052b5bbce88566da97769138c97b397204c1d6.zip
use C_DRAKX
Diffstat (limited to 'perl-install/c/Makefile.PL')
-rw-r--r--perl-install/c/Makefile.PL3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index ef43d80b9..5a54af70b 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -2,7 +2,8 @@ use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
-my $libs = '-L/usr/X11R6/lib -lX11 -lgdk -lXxf86misc -lldetect';
+my $libs = '-lldetect';
+$libs .= ' -L/usr/X11R6/lib -lX11 -lgdk -lXxf86misc' if $ENV{C_DRAKX};
$libs .= ' -lrpm -lrpmio -lz' if $ENV{C_RPM};
WriteMakefile(