diff --git a/aclocal.m4 b/aclocal.m4 index dab409f14d..dad125c8c5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2799,7 +2799,7 @@ while test ${D}# -gt 0; do shift ;; - -l*|-L*|-flat_namespace|-headerpad_max_install_names) + -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names) # collect these options args="${D}{args} ${D}1" ;; diff --git a/configure b/configure index c39fbe82a2..4d900e0b16 100755 --- a/configure +++ b/configure @@ -35771,7 +35771,7 @@ _ACEOF fi if test "$wxUSE_DMALLOC" = "yes" ; then - DMALLOC_LIBS="-ldmalloc" + DMALLOC_LIBS="-ldmallocthcxx" fi PROFILE= @@ -42117,7 +42117,7 @@ while test ${D}# -gt 0; do shift ;; - -l*|-L*|-flat_namespace|-headerpad_max_install_names) + -l*|-L*|-Wl,*|-flat_namespace|-headerpad_max_install_names) # collect these options args="${D}{args} ${D}1" ;;