$OpenBSD: patch-SConstruct,v 1.9 2021/03/18 15:51:13 sthen Exp $ Index: SConstruct --- SConstruct.orig +++ SConstruct @@ -895,6 +895,7 @@ envDict = dict(BUILD_ROOT=buildDir, INSTALL_DIR=installDir, CONFIG_HEADER_DEFINES={}, LIBDEPS_TAG_EXPANSIONS=[], + ENV = {'PATH': os.environ['PATH']}, ) env = Environment(variables=env_vars, **envDict) @@ -2698,7 +2699,7 @@ def doConfigure(myenv): if has_option( "ssl" ): sslLibName = "ssl" cryptoLibName = "crypto" - sslLinkDependencies = ["crypto", "dl"] + sslLinkDependencies = ["crypto"] if conf.env.TargetOSIs('freebsd'): sslLinkDependencies = ["crypto"] if conf.env.TargetOSIs('windows'):