24 lines
555 B
Text
24 lines
555 B
Text
|
don't install symlinks to shared libraries
|
||
|
|
||
|
Index: SCons/Tool/install.py
|
||
|
--- SCons/Tool/install.py.orig
|
||
|
+++ SCons/Tool/install.py
|
||
|
@@ -30,6 +30,7 @@ selection method.
|
||
|
|
||
|
import os
|
||
|
import stat
|
||
|
+import sys
|
||
|
from shutil import copy2, copystat
|
||
|
|
||
|
import SCons.Action
|
||
|
@@ -210,6 +211,9 @@ def copyFuncVersionedLib(dest, source, env) -> int:
|
||
|
return 0
|
||
|
|
||
|
def listShlibLinksToInstall(dest, source, env):
|
||
|
+ if sys.platform.startswith('openbsd'):
|
||
|
+ return []
|
||
|
+
|
||
|
install_links = []
|
||
|
source = env.arg2nodes(source)
|
||
|
dest = env.fs.File(dest)
|