nixpkgs/pkgs/development/libraries/swiften/scons.patch
Orivej Desh 8ea42e7489 swiften: fix build
It was failing with:

  LINK Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot0x
/nix/store/mgdjnsrkqgmxqjaqaxgqyqm7fwyi96fk-binutils-2.31.1/bin/ld: cannot find -lssl
/nix/store/mgdjnsrkqgmxqjaqaxgqyqm7fwyi96fk-binutils-2.31.1/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
2019-07-31 14:47:15 +00:00

9 lines
355 B
Diff

--- a/BuildTools/SCons/SConscript.boot
+++ b/BuildTools/SCons/SConscript.boot
@@ -129,5 +129 @@ vars.Add(PathVariable("sparkle_public_dsa_key", "Optional path to a public DSA k
-env_ENV = {
- 'PATH' : os.environ['PATH'],
- 'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH", ""),
- 'TERM' : os.environ.get("TERM", ""),
-}
+env_ENV = os.environ