--- python/setup.py.in +++ python/setup.py.in @@ -24,7 +24,9 @@ extensions = [ Extension("_cracklibmodule", ["_cracklibmodule.c"], - libraries = ["crack"]), + include_dirs = ["../lib"], + libraries = ["crack"], + library_dirs = ["../lib/.libs"]), ] setup(