Skip to content

Commit

Permalink
Fix auto::icu for non-standard ICU paths
Browse files Browse the repository at this point in the history
While --ldflags was too much, --ldflags-libsonly isn't enough.  So
also ask icu-config for --ldflags-searchpath
  • Loading branch information
Benabik committed Jun 11, 2012
1 parent e446d96 commit 399bb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/auto/icu.pm
Expand Up @@ -278,8 +278,8 @@ sub _try_icuconfig {
$arg->{icuconfig}
) {
# ldflags
$conf->debug("Trying $arg->{icuconfig} with '--ldflags-libsonly'\n");
$icushared = capture_output("$arg->{icuconfig} --ldflags-libsonly");
$conf->debug("Trying $arg->{icuconfig} with '--ldflags-searchpath --ldflags-libsonly'\n");
$icushared = capture_output("$arg->{icuconfig} --ldflags-searchpath --ldflags-libsonly");
chomp $icushared;
$conf->debug("icushared: captured $icushared\n");
($icushared, $arg->{without}) =
Expand Down

0 comments on commit 399bb0e

Please sign in to comment.