6837909120
Related: rhbz#2013846
22 lines
949 B
Diff
22 lines
949 B
Diff
commit a4724332098cd8bff44ee27e9190fd28fa5c1865
|
|
Author: Andrew John Hughes <andrew@openjdk.org>
|
|
Date: Fri Nov 5 21:05:42 2021 +0000
|
|
|
|
8276572: Fake libsyslookup.so library causes tooling issues
|
|
|
|
Reviewed-by: shade, mcimadamore
|
|
|
|
diff --git openjdk.orig/src/jdk.incubator.foreign/share/native/libsyslookup/syslookup.c openjdk/src/jdk.incubator.foreign/share/native/libsyslookup/syslookup.c
|
|
index fdf99866786..b1f543bfdb7 100644
|
|
--- openjdk.orig/src/jdk.incubator.foreign/share/native/libsyslookup/syslookup.c
|
|
+++ openjdk/src/jdk.incubator.foreign/share/native/libsyslookup/syslookup.c
|
|
@@ -26,3 +26,8 @@
|
|
// Note: the include below is not strictly required, as dependencies will be pulled using linker flags.
|
|
// Adding at least one #include removes unwanted warnings on some platforms.
|
|
#include <stdlib.h>
|
|
+
|
|
+// Simple dummy function so this library appears as a normal library to tooling.
|
|
+char* syslookup() {
|
|
+ return "syslookup";
|
|
+}
|