openwrt-packages/lang/perl-www-curl/patches/200-fix_default_lflags.patch

12 lines
387 B
Diff

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -39,7 +39,7 @@ repository 'http://github.com/szbalint/
#print "The version is $version\n";
my @includes = qw();
-my ($cflags,$lflags, $ldflags) = ('','','');
+my ($cflags,$lflags, $ldflags) = ('','-lcurl','');
# You may need to specify where to find curl.h on your platform
# These are guesses only, in case curl-config is not telling us.