1
Fork 0

Path from command line

This commit is contained in:
Jan-Erik Rediger 2023-12-09 00:13:57 +01:00
parent 3cbb3a1ce2
commit 30e2824c91

View file

@ -247,7 +247,8 @@ def register_imports(
) )
g = goblin.Object("../mylib.dylib") path = sys.argv[1]
g = goblin.Object(path)
register_symbols(g, connection, CacheFlag.SYMBOLS) register_symbols(g, connection, CacheFlag.SYMBOLS)
register_sections(g, connection, CacheFlag.SECTIONS) register_sections(g, connection, CacheFlag.SECTIONS)
register_exports(g, connection, CacheFlag.EXPORTS) register_exports(g, connection, CacheFlag.EXPORTS)