aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 9b5b3d0..eb0a823 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -50,7 +50,7 @@ ChangeLog:
}
my @rpmflags;
-my $ldflags = `pkg-config --libs rpm -lrpmbuild`;
+my $ldflags = `pkg-config --libs rpm` . ' -lrpmbuild';
if ($hversion ge hexversion("4.9.0") && $hversion lt hexversion("5.0")) {
# rpm.org version 4.9.0
push @rpmflags, "-DRPM490";