@@ -52,12 +52,6 @@ def _install_host_ruby(ctx, ruby):
5252 },
5353 )
5454
55- # Install lib
56- paths , rel_paths = _list_libdirs (ruby )
57- for i , (path , rel_path ) in enumerate (zip (paths , rel_paths )):
58- if not _is_subpath (rel_path , rel_paths [:i ]):
59- ctx .symlink (path , rel_path )
60-
6155 # Install libruby
6256 static_library = ruby .expand_rbconfig (ruby , "${libdir}/${LIBRUBY_A}" )
6357 if ctx .path (static_library ).exists :
@@ -73,7 +67,6 @@ def _install_host_ruby(ctx, ruby):
7367
7468 return struct (
7569 includedirs = _install_dirs (ctx , ruby , "rubyarchhdrdir" , "rubyhdrdir" ),
76- libdirs = rel_paths ,
7770 static_library = _relativate (static_library ),
7871 shared_library = _relativate (shared_library ),
7972 )
@@ -104,8 +97,6 @@ def _ruby_host_runtime_impl(ctx):
10497 "BUILD.bazel" ,
10598 ctx .attr ._buildfile_template ,
10699 substitutions = {
107- "{ruby_path}" : repr (ruby .rel_interpreter_path ),
108- "{ruby_basename}" : repr (ruby .interpreter_name ),
109100 "{includes}" : repr (installed .includedirs ),
110101 "{hdrs}" : repr (["%s/**/*.h" % path for path in installed .includedirs ]),
111102 "{static_library}" : repr (installed .static_library ),
0 commit comments