diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-11-17 14:34:47 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-11-17 14:34:47 +0000 |
commit | 486da338ac249d2c15885182e922e3630c511909 (patch) | |
tree | 12500bc03f2a320326d55a857e2e8b9605106b81 | |
parent | 103b33e21ffe528c39771e345eb06438c173e885 (diff) | |
download | perl-URPM-486da338ac249d2c15885182e922e3630c511909.tar perl-URPM-486da338ac249d2c15885182e922e3630c511909.tar.gz perl-URPM-486da338ac249d2c15885182e922e3630c511909.tar.bz2 perl-URPM-486da338ac249d2c15885182e922e3630c511909.tar.xz perl-URPM-486da338ac249d2c15885182e922e3630c511909.zip |
be sure o explicitly link against libmagic and don't rely on implicit through rpm
-rw-r--r-- | Makefile.PL | 2 |
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); |