[LyX/master] Amend change d1d22a1433e503c3f36aa982c2a7ec9d1f79273d - configure Mac compiler flags on Mac only

Stephan Witt switt at lyx.org
Sun Dec 5 21:15:46 UTC 2021


commit f700aa98d45f019d4cf875009dc684bbda32a5ec
Author: Stephan Witt <switt at lyx.org>
Date:   Sun Dec 5 22:36:36 2021 +0100

    Amend change d1d22a1433e503c3f36aa982c2a7ec9d1f79273d  - configure Mac compiler flags on Mac only
---
 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 02a89a8..eabbcf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -193,7 +193,9 @@ AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lockf lstat mkfifo open _o
 AC_FUNC_MKDIR
 AC_FUNC_SELECT_ARGTYPES
 
-LYX_CHECK_MACOS_DEPLOYMENT_TARGET
+if test "$lyx_use_packaging" = "macosx" ; then
+  LYX_CHECK_MACOS_DEPLOYMENT_TARGET
+fi
 
 LYX_CHECK_SPELL_ENGINES
 LYX_USE_INCLUDED_MYTHES


More information about the lyx-cvs mailing list