diff --git a/python/setup.py.in b/python/setup.py.in index eaff2434..aca08b6b 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -15,7 +15,7 @@ class f2py_Build(build_ext): self.build_extension(ext) def build_extension(self, ext): - os.system(f"@F2PY_EXECUTABLE@ -c {ext.name}.pyf -m {ext.name}") + os.system(f"@F2PY_EXECUTABLE@ -c {ext.name}.pyf -m {ext.name} -L@CMAKE_BINARY_DIR@/src -lbufr_4") add_attribute = lambda **args: [list.append(attdict[key], value) for key, value in args.items()]