From 28ee1f47ed4366351477065a0f794f05402e69a7 Mon Sep 17 00:00:00 2001 From: Sergio Basto Date: Thu, 22 Nov 2012 18:02:50 -0800 Subject: [PATCH] configure: fix gpac detection with -Wp,-D_FORTIFY_SOURCE=2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 250b0ace..6b2d616c 100755 --- a/configure +++ b/configure @@ -904,7 +904,7 @@ if [ "$gpac" = "auto" ] ; then fi if [ "$gpac" = "yes" ] ; then define HAVE_GPAC - if cc_check gpac/isomedia.h "-Werror $GPAC_LIBS" "gf_malloc(1); gf_free(NULL);" ; then + if cc_check gpac/isomedia.h "-Werror $GPAC_LIBS" "void *p; p = gf_malloc(1); gf_free(p);" ; then define HAVE_GF_MALLOC fi LDFLAGSCLI="$GPAC_LIBS $LDFLAGSCLI" -- 2.47.3