about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libpwquality/python-binding-prefix.patch
blob: a8f77142e1db37cc5367edf07bcd65034da2e1d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/python/Makefile.am b/python/Makefile.am
index 1d00c0c..0987690 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -14,7 +14,7 @@ all-local:
 	CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
 
 install-exec-local:
-	CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${prefix}
+	CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --prefix=${DESTDIR}${py}
 
 clean-local:
 	rm -rf py$(PYTHONREV)