Skip to content

Commit

Permalink
Fix issue with release mode
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <[email protected]>
  • Loading branch information
mballance committed Oct 29, 2024
1 parent a593138 commit def34e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/astbuilder/pyext_gen_pyx.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def gen_factory(self):
self.pyx.println("ext_dir = os.path.dirname(os.path.abspath(__file__))")
self.pyx.println("build_dir = os.path.abspath(os.path.join(ext_dir, \"../../build\"))")
self.pyx.println("libname = \"lib%s.so\"" % self.name)
self.pyx.println("core_lib = None")
self.pyx.println("for libdir in (\"lib\", \"lib64\"):")
self.pyx.inc_indent()
self.pyx.println("if os.path.isfile(os.path.join(build_dir, libdir, libname)):")
Expand Down

0 comments on commit def34e6

Please sign in to comment.