From f700aa98d45f019d4cf875009dc684bbda32a5ec Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 5 Dec 2021 22:36:36 +0100 Subject: [PATCH] Amend change d1d22a1433e503c3f36aa982c2a7ec9d1f79273d - configure Mac compiler flags on Mac only --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 02a89a8ba4..eabbcf86cf 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