forked from pool/apache-commons-daemon
39ec3978eb
GCC 14 compatibility fix. OBS-URL: https://build.opensuse.org/request/show/1172167 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=51
14 lines
646 B
Diff
14 lines
646 B
Diff
Index: commons-daemon-1.3.4-src/src/native/unix/configure.in
|
|
===================================================================
|
|
--- commons-daemon-1.3.4-src.orig/src/native/unix/configure.in
|
|
+++ commons-daemon-1.3.4-src/src/native/unix/configure.in
|
|
@@ -97,7 +97,7 @@ then
|
|
AC_MSG_RESULT([jni_md.h found in $JAVA_HOME/$JAVA_INC])
|
|
INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC"
|
|
else
|
|
- INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
|
|
+ INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$JAVA_OS"
|
|
fi
|
|
|
|
dnl -------------------------------------------------------------------------
|