@@ -367,7 +367,7 @@ def CONFIG.[](name, mandatory = false)
367367
368368bindir = CONFIG [ "bindir" , true ]
369369if CONFIG [ "libdirname" ] == "archlibdir"
370- archbindir = bindir . sub ( %r[/\K (?=[^/]+\z )] ) { CONFIG [ "config_target" ] + "/" }
370+ archbindir = nil # bindir.sub(%r[/\K(?=[^/]+\z)]) {CONFIG["config_target"] + "/"}
371371end
372372libdir = CONFIG [ CONFIG . fetch ( "libdirname" , "libdir" ) , true ]
373373rubyhdrdir = CONFIG [ "rubyhdrdir" , true ]
@@ -898,11 +898,11 @@ def (bins = []).add(name)
898898 if pc and File . file? ( pc ) and File . size? ( pc )
899899 prepare "pkgconfig data" , pkgconfigdir = File . join ( libdir , "pkgconfig" )
900900 install pc , pkgconfigdir , :mode => $data_mode
901- if ( pkgconfig_base = CONFIG [ "libdir" , true ] ) != libdir
902- prepare "pkgconfig data link" , File . join ( pkgconfig_base , "pkgconfig" )
903- ln_sf ( File . join ( ".." , Path . relative ( pkgconfigdir , pkgconfig_base ) , pc ) ,
904- File . join ( pkgconfig_base , "pkgconfig" , pc ) )
905- end
901+ # if (pkgconfig_base = CONFIG["libdir", true]) != libdir
902+ # prepare "pkgconfig data link", File.join(pkgconfig_base, "pkgconfig")
903+ # ln_sf(File.join("..", Path.relative(pkgconfigdir, pkgconfig_base), pc),
904+ # File.join(pkgconfig_base, "pkgconfig", pc))
905+ # end
906906 end
907907end
908908
0 commit comments