Signed-off-by: Barbu Paul - Gheorghe <[email protected]>
---
m4/acinclude.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4
index f57a515..2829845 100644
--- a/m4/acinclude.m4
+++ b/m4/acinclude.m4
@@ -83,7 +83,8 @@ AC_DEFUN([GCC_VISIBILITY_CC],[
if test $visibility_cv_cc = yes; then
AC_DEFINE([ENABLE_VISIBILITY_CC], 1, [Define if symbol visibility C
support is enabled.])
fi
- AM_CONDITIONAL([ENABLE_VISIBILITY_CC], test "x$visibility_cv_cc" = "xyes")
+ AM_CONDITIONAL([ENABLE_VISIBILITY_CC],
+ test "x$visibility_cv_cc" = "xyes" -a "x$debug" != "xyes")
fi
])
--
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects -
https://github.com/paullik