plug-ins: allow non-optional extra libs in plug-ins/common

Don't make adding extra libs defined in 'libs => foo' depend
on 'optional => 1'.
This commit is contained in:
Michael Natterer 2013-10-19 18:28:13 +02:00
parent 41c92af49b
commit a6a07dd29e
1 changed files with 1 additions and 3 deletions

View File

@ -152,11 +152,9 @@ foreach (sort keys %plugins) {
my $optlib = "";
if (exists $plugins{$_}->{optional}) {
if (exists $plugins{$_}->{libs}) {
$optlib = "\n\t\$(" . $plugins{$_}->{libs} . ")\t\t\\";
}
}
if (exists $plugins{$_}->{cflags}) {
my $cflags = $plugins{$_}->{cflags};