From 69e90258e94eb19242e9594b9796dc24038bea93 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 20 Jun 2013 02:33:15 -0700 Subject: [PATCH 1/1] Prevent -framework configuration multiplying LIBS. --- m4/framework.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/framework.m4 b/m4/framework.m4 index 1de128f..4f2147d 100644 --- a/m4/framework.m4 +++ b/m4/framework.m4 @@ -36,7 +36,7 @@ AC_DEFUN([AC_CHECK_FRAMEWORK], [ LIBS=$ac_check_framework_save_LIBS] ) AS_IF([test AS_VAR_GET(ac_Framework) = yes], [ - AC_LIB_APPENDTOVAR([LIBS], ["-framework $1 $LIBS"]) + AC_LIB_APPENDTOVAR([LIBS], ["-framework $1"]) m4_default([$4], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_FRAMEWORK_$1))]) ], [$5])dnl AS_VAR_POPDEF([ac_Framework])dnl -- 2.45.2