From af39ca9eba859e97294914b88788a7ed8d422cd6 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 26 Feb 2022 18:20:57 -0500 Subject: [PATCH] JNI for test coverage #3965 hello darwin --- unit_tests/unit_test_rules.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/unit_tests/unit_test_rules.mk b/unit_tests/unit_test_rules.mk index 1e4dc20e5f..fb42d8be46 100644 --- a/unit_tests/unit_test_rules.mk +++ b/unit_tests/unit_test_rules.mk @@ -137,7 +137,11 @@ AOPT = -fPIC -I$(JAVA_HOME)/include ifeq ($(OS),Windows_NT) AOPT += -I$(JAVA_HOME)/include/win32 else - AOPT += -I$(JAVA_HOME)/include/linux + ifeq ($(IS_MAC),yes) + AOPT += -I$(JAVA_HOME)/include/darwin + else + AOPT += -I$(JAVA_HOME)/include/linux + endif endif # Define C warning options here