From 0e391d294fa79080bc53b0f966a3745f413941cf Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Tue, 28 Sep 2010 22:43:29 +0000 Subject: [PATCH] apply patch for lib selection for python git-svn-id: file:///tmp/cracklib-svn/trunk/cracklib@179 4175fe1e-86d5-4fdc-8e6a-506fab9d8533 --- NEWS | 1 + python/setup.py.in | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 00666cf..bf35542 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ v2.8.18 also include stdlib.h in stringlib.c (Mike Frysinger) + make sure python lib builds against build dir instead of system installed libs (Arfrever Frehtes Taifersar Arahesis) v2.8.17 fixed compilation on interix systems updated Hindi translation (Rajesh Ranjan) fixed NLS issue in cracklib-check diff --git a/python/setup.py.in b/python/setup.py.in index 4b7d86a..ae5a9f2 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -24,7 +24,9 @@ from setuptools import setup, Extension, find_packages extensions = [ Extension("_cracklibmodule", ["_cracklibmodule.c"], - libraries = ["crack"]), + include_dirs = ["../lib"], + libraries = ["crack"], + library_dirs = ["../lib/.libs"]), ] setup( -- 2.40.0