summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@neulinger.org>2010-09-28 22:43:29 +0000
committerNathan Neulinger <nneul@neulinger.org>2010-09-28 22:43:29 +0000
commit0e391d294fa79080bc53b0f966a3745f413941cf (patch)
tree2632f203b882af7b9787265b466f32424232a1d6
parent157b697370efab4de1d288dc41c603adec79e75c (diff)
downloadcracklib-0e391d294fa79080bc53b0f966a3745f413941cf.tar.gz
apply patch for lib selection for pythoncracklib-2-8-18@179
git-svn-id: file:///tmp/cracklib-svn/trunk/cracklib@179 4175fe1e-86d5-4fdc-8e6a-506fab9d8533
-rw-r--r--NEWS1
-rw-r--r--python/setup.py.in4
2 files changed, 4 insertions, 1 deletions
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(