Skip to content

Commit dd827ca

Browse files
remove IS_GNU
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 4fabaf9 commit dd827ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/mk_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,9 +1829,9 @@ def mk_makefile(self, out):
18291829
t = '\t$(CXX) $(CXXFLAGS) $(CXX_OUT_FLAG)api/java/Native$(OBJ_EXT) -I"%s" -I"%s/PLATFORM" -I%s %s/Native.cpp\n' % (JNI_HOME, JNI_HOME, get_component('api').to_src_dir, self.to_src_dir)
18301830
if IS_OSX:
18311831
t = t.replace('PLATFORM', 'darwin')
1832-
elif IS_LINUX:
1832+
elif is_linux():
18331833
t = t.replace('PLATFORM', 'linux')
1834-
elif IS_GNU:
1834+
elif is_hurd():
18351835
t = t.replace('PLATFORM', 'hurd')
18361836
elif IS_FREEBSD:
18371837
t = t.replace('PLATFORM', 'freebsd')

0 commit comments

Comments
 (0)