summaryrefslogtreecommitdiff
path: root/devel/py-capstone/files/patch-capstone_____init____.py
blob: ee467307a16ae2093e11013d7cb0fec91ea32d46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- capstone/__init__.py.orig	2018-07-18 16:17:10 UTC
+++ capstone/__init__.py
@@ -236,6 +236,7 @@ _cs = None
 # - last-gasp attempt at some hardcoded paths on darwin and linux
 
 _path_list = [os.getenv('LIBCAPSTONE_PATH', None),
+              '%%LOCALBASE%%/lib',
               pkg_resources.resource_filename(__name__, 'lib'),
               join(split(__file__)[0], 'lib'),
               '',