From: Jay Freeman (saurik) Date: Thu, 20 Jun 2013 09:33:15 +0000 (-0700) Subject: Prevent -framework configuration multiplying LIBS. X-Git-Tag: v0.9.500%b1~86 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/69e90258e94eb19242e9594b9796dc24038bea93 Prevent -framework configuration multiplying LIBS. --- 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