mirror of https://github.com/kivy/pyjnius.git
Removed hard-coded linux directory in the include_dirs
This commit is contained in:
parent
b7a583984d
commit
cf93f7afc8
2
setup.py
2
setup.py
|
@ -70,7 +70,7 @@ else:
|
|||
cpu = 'i386' if sys.maxint == 2147483647 else 'amd64'
|
||||
include_dirs = [
|
||||
join(jdk_home, 'include'),
|
||||
join(jdk_home, 'include', 'linux')]
|
||||
join(jdk_home, 'include', platform)]
|
||||
library_dirs = [join(jre_home, 'lib', cpu, 'server')]
|
||||
extra_link_args = ['-Wl,-rpath', library_dirs[0]]
|
||||
libraries = ['jvm']
|
||||
|
|
Loading…
Reference in New Issue