Skip to content

Commit f38a066

Browse files
authored
Merge pull request #1070 from zeloff/master
Add OpenBSD support on setupext/platform.py
2 parents 853a048 + 19422e7 commit f38a066

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setupext/platform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ def Platform(include_dirs=None, sources=None, platform=sys.platform):
9595
elif platform.startswith('freebsd'):
9696
distutils.log.info("Add freebsd settings")
9797
jni_md_platform = 'freebsd'
98+
99+
elif platform.startswith('openbsd'):
100+
distutils.log.info("Add openbsd settings")
101+
jni_md_platform = 'openbsd'
98102

99103
elif platform.startswith('android'):
100104
distutils.log.info("Add android settings")
@@ -137,6 +141,7 @@ def Platform(include_dirs=None, sources=None, platform=sys.platform):
137141
${JAVA_INCLUDE_PATH}/win32
138142
${JAVA_INCLUDE_PATH}/linux
139143
${JAVA_INCLUDE_PATH}/freebsd
144+
${JAVA_INCLUDE_PATH}/openbsd
140145
${JAVA_INCLUDE_PATH}/solaris
141146
${JAVA_INCLUDE_PATH}/hp-ux
142147
${JAVA_INCLUDE_PATH}/alpha

0 commit comments

Comments
 (0)