Skip to content

Commit 112c505

Browse files
committed
again try to fix macho logic
1 parent 67d9077 commit 112c505

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/venv_site_packages_libs/ext_with_libs/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ cc_shared_library(
2323
name = "increment",
2424
user_link_flags = select({
2525
"@platforms//os:osx": [
26+
# Needed so that DT_NEEDED=libincrement.dylib can find
27+
# this shared library
2628
"-Wl,-install_name,@rpath/libincrement.dylib",
2729
],
2830
"//conditions:default": [],

tests/venv_site_packages_libs/shared_lib_loading_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from elftools.elf.elffile import ELFFile
66
from macholib import mach_o
7+
from macholib import SymbolTable
78
from macholib.MachO import MachO
8-
from macholib.symtab import SymbolTable
99

1010

1111
class SharedLibLoadingTest(unittest.TestCase):

0 commit comments

Comments
 (0)