]> git.saurik.com Git - cycript.git/commitdiff
Prevent -framework configuration multiplying LIBS.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 09:33:15 +0000 (02:33 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 20 Jun 2013 09:33:15 +0000 (02:33 -0700)
m4/framework.m4

index 1de128fec9644b04fbe59d23110650b5d677ad49..4f2147dfab60067dfc7d8dacafe7277544054ef7 100644 (file)
@@ -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