Path from command line
This commit is contained in:
parent
3cbb3a1ce2
commit
30e2824c91
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue