mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-23 08:30:07 -03:00
java: fix macOS binding generation
`/usr/include/sys/cdefs.h:74:25: warning: #warning "Unsupported compiler detected"` is solved by by tricking cdefs.h into thinking we're gcc, similar to https://github.com/nativelibs4java/JNAerator/issues/8#issuecomment-81965369 Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
f8d128eeaa
commit
115a7bdc64
@ -19,6 +19,7 @@ $(JAR): $(RESOURCES_DIR) $(JNAERATOR_JAR)
|
||||
-library enry \
|
||||
$(HEADER_FILE) \
|
||||
-I/usr/lib/gcc/x86_64-linux-gnu/4.8/include \
|
||||
-D__GNUC__=4 \
|
||||
-o $(JARS_DIR) \
|
||||
-mode StandaloneJar \
|
||||
-runtime JNA;
|
||||
|
Loading…
x
Reference in New Issue
Block a user