Skip to content

Commit

Permalink
CHange how linking is done.
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-boyd committed Jan 9, 2024
1 parent df02043 commit 55991db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ def run(self):
ext_modules=[
Extension(
name="lzo",
sources=["lzomodule.c"] + glob(os.path.join(lzo_dir, "src/*.c")),
sources=["lzomodule.c"], # + glob(os.path.join(lzo_dir, "src/*.c")),
include_dirs=[os.path.join(lzo_dir, "include")],
libraries=['lzo2'],
library_dirs=[os.path.join(lzo_dir, "lib")],
#extra_link_args=["-flat_namespace"] if sys.platform == "darwin" else [],
)
],
Expand Down

0 comments on commit 55991db

Please sign in to comment.