Browse Source

lang/perl-www-curl: Properly link against libcurl

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 10 years ago
parent
commit
7a459369f7
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      lang/perl-www-curl/patches/200-fix_default_lflags.patch

+ 11
- 0
lang/perl-www-curl/patches/200-fix_default_lflags.patch View File

@ -0,0 +1,11 @@
--- 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.

Loading…
Cancel
Save