mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-21 16:09:05 -07:00
Closes: https://bugs.gentoo.org/774039 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
29 lines
858 B
Diff
29 lines
858 B
Diff
From: Gokturk Yuksek <gokturk@gentoo.org>
|
|
|
|
Do not allow the build system to use libs from /usr/local.
|
|
|
|
Bug: https://bugs.gentoo.org/774039
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -92,19 +92,6 @@
|
|
dnl Enable multithreading by default in the presence of pthread
|
|
AS_IF([test "x$ax_pthread_ok" = "xyes" && test "x$enable_multithreading" != "xno"], [ax_multithread=yes], [ax_multithread=no])
|
|
|
|
-case "$host" in
|
|
-*-*-mingw*)
|
|
- dnl Adding the native /usr/local is wrong for cross-compiling
|
|
- ;;
|
|
-*)
|
|
- dnl Not all compilers include /usr/local in the include and link path
|
|
- if test -d /usr/local/include; then
|
|
- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
|
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
- fi
|
|
- ;;
|
|
-esac
|
|
-
|
|
dnl Add enable/disable option
|
|
AC_ARG_ENABLE([java],
|
|
[AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])])
|