aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index f592889..cc74aa4 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -46,6 +46,8 @@ ChangeLog:
}
my $ldflags = `pkg-config --libs rpm liblzma`;
+chomp($ldflags);
+$ldflags .= " -lmagic";
my $includes = `pkg-config --cflags-only-I rpm liblzma`;
my $ccflags = join(' ', '-Wall -Wextra -fno-strict-aliasing', `pkg-config --cflags-only-other rpm liblzma`);
chomp($ccflags);