xidel: fix for darwin
On darwin, the tool was linked to system libcrypto.dylib and failed to start with: ``` Invalid dylib load. Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI. abort() called ```
This commit is contained in:
parent
f395e453f0
commit
0232b1d3ba
@ -62,10 +62,14 @@ in stdenv.mkDerivation rec {
|
||||
preBuildPhase = ''
|
||||
mkdir -p import/{flre,synapse,pasdblstrutils} rcmdline internettools
|
||||
cp -R ${flreSrc}/. import/flre
|
||||
cp -R ${synapseSrc}/. import/synapse
|
||||
cp -R ${pasdblstrutilsSrc}/. import/pasdblstrutils
|
||||
cp -R ${rcmdlineSrc}/. rcmdline
|
||||
cp -R ${internettoolsSrc}/. internettools
|
||||
|
||||
cp -R ${synapseSrc}/. import/synapse
|
||||
substituteInPlace import/synapse/ssl_openssl{,11}_lib.pas \
|
||||
--replace-fail 'libcrypto.dylib' '${lib.getLib openssl}/lib/libcrypto.dylib' \
|
||||
--replace-fail 'libssl.dylib' '${lib.getLib openssl}/lib/libssl.dylib'
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user