build: remove support for automatically building .pc files.
[ira/wip.git] / source / build / smb_build / main.pl
index cdeaeeb1c8c6b46240f0e83954a71a8b35029304..fb769103d05ceeea3f7cf1270dcab000d826d0fd 100644 (file)
@@ -61,10 +61,7 @@ foreach my $key (values %$OUTPUT) {
 
        $mkenv->StaticLibrary($key) if grep(/STATIC_LIBRARY/, @{$key->{OUTPUT_TYPE}});
        if (defined($key->{PC_FILE})) {
-               push(@{$mkenv->{pc_files}}, $key->{PC_FILE});
-       } else {
-               $mkenv->PkgConfig($key, $OUTPUT) if $key->{TYPE} eq "LIBRARY" 
-                                                               and defined($key->{VERSION});
+               push(@{$mkenv->{pc_files}}, "$key->{BASEDIR}/$key->{PC_FILE}");
        } 
        $mkenv->SharedLibrary($key) if ($key->{TYPE} eq "LIBRARY") and
                                        grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}});