summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/c/Makefile2
-rw-r--r--perl-install/c/Makefile.PL2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/c/Makefile b/perl-install/c/Makefile
index 043cbc6d6..e58cab335 100644
--- a/perl-install/c/Makefile
+++ b/perl-install/c/Makefile
@@ -10,7 +10,7 @@ stuff: %: %.xs
clean:
test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
- rm -f *~ *.o stuff.xs
+ rm -f *~ *.o stuff.xs pcmcia_probe.c
stuff.xs: %: %.pm
rm -f $@
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index a403ddb24..fbcb16914 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -9,7 +9,7 @@ $libs .= ' -lrpm -lrpmio -lz' if $ENV{C_RPM};
my $pcmcia_dir = $ENV{C_DRAKX} && $Config{archname} =~ /i.86/ ? '../../mdk-stage1/pcmcia' : '';
-symlink "$pcmcia_dir/pcmcia_probe.c", "pcmcia_probe.c";
+symlink "$pcmcia_dir/pcmcia_probe.c", "pcmcia_probe.c" if $pcmcia_dir;
WriteMakefile(
'NAME' => 'stuff',