pybitmessage: replace find_library() calls with paths
fixes requested changes in #26616
This commit is contained in:
parent
e3d7c4ca19
commit
e9203772f2
@ -21,10 +21,12 @@ pythonPackages.buildPythonApplication rec {
|
|||||||
--replace 'print "It looks like building the package failed.\n" \' pass \
|
--replace 'print "It looks like building the package failed.\n" \' pass \
|
||||||
--replace ' "You may be missing a C++ compiler and the OpenSSL headers."' pass
|
--replace ' "You may be missing a C++ compiler and the OpenSSL headers."' pass
|
||||||
|
|
||||||
'';
|
substituteInPlace src/pyelliptic/openssl.py \
|
||||||
|
--replace "libdir.append(find_library('ssl'))" "libdir.append('${openssl.out}/lib/libssl.so')"
|
||||||
|
|
||||||
|
substituteInPlace src/depends.py \
|
||||||
|
--replace "ctypes.util.find_library('ssl')" "'${openssl.out}/lib/libssl.so'"
|
||||||
|
|
||||||
makeWrapperArgs = ''
|
|
||||||
--prefix LD_LIBRARY_PATH : "${openssl.out}/lib/"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user