X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debian%2FDebhelper%2FBuildsystem%2Fperl_build.pm;h=671bca5713f919b046a8c5f2020c0f8a5790d43e;hb=770ae5500e6e459b32c92a2d00f099249725323e;hp=35a23d675b12bd620855206d38ee9eb768ad727a;hpb=d895fd3c91309e31a52a30f04b3a04da2fc7e3a4;p=debhelper.git diff --git a/Debian/Debhelper/Buildsystem/perl_build.pm b/Debian/Debhelper/Buildsystem/perl_build.pm index 35a23d6..671bca5 100644 --- a/Debian/Debhelper/Buildsystem/perl_build.pm +++ b/Debian/Debhelper/Buildsystem/perl_build.pm @@ -46,7 +46,7 @@ sub configure { push @flags, "config=optimize=$ENV{CFLAGS} $ENV{CPPFLAGS}"; } if ($ENV{LDFLAGS} && ! compat(8)) { - push @flags, "config=ld=$Config{ld} $ENV{LDFLAGS}"; + push @flags, "config=ld=$Config{ld} $ENV{CFLAGS} $ENV{LDFLAGS}"; } $this->do_perl("Build.PL", "installdirs=vendor", @flags, @_); }