Skip to content

Commit b649f9e

Browse files
hmaarrfkxhochy
authored andcommitted
Fix clash between folders in lib and usable libraries
1 parent cceff20 commit b649f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ index 3b21658433b..ecd2c6cbd9c 100644
4747
+ return None
4848
+ for fullname in (name, "lib%s.so" % (name)):
4949
+ path = os.path.join(sys.prefix, 'lib', fullname)
50-
+ if os.path.exists(path):
50+
+ if os.path.exists(path) and not os.path.isdir(path):
5151
+ return path
5252
+ return None
5353
+

0 commit comments

Comments
 (0)