3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

Merge pull request #1869 from nabice/master

Ignore current dir when searching for jni
This commit is contained in:
Nikolaj Bjorner 2018-10-12 22:45:32 -07:00 committed by GitHub
commit 5f4da31b19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -396,7 +396,7 @@ def check_java():
libdirs = m.group(1).split(',')
for libdir in libdirs:
q = os.path.dirname(libdir)
if cdirs.count(q) == 0:
if cdirs.count(q) == 0 and len(q) > 0:
cdirs.append(q)
t.close()