]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix the lib/dns/tests/Makefile.in to work without LD_WRAP
authorOndřej Surý <ondrej@sury.org>
Tue, 23 Jul 2019 12:59:36 +0000 (08:59 -0400)
committerOndřej Surý <ondrej@sury.org>
Tue, 23 Jul 2019 12:59:36 +0000 (08:59 -0400)
lib/dns/tests/Makefile.in

index e06826dee10acbeb98bc181a2284798408d7a1e1..44e12b1bda619ca369c88dff9d428faa3eeb2482 100644 (file)
@@ -234,9 +234,9 @@ time_test@EXEEXT@: time_test.@O@ dnstest.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
                ${LDFLAGS} -o $@ time_test.@O@ dnstest.@O@ \
                ${DNSLIBS} ${ISCLIBS} ${LIBS}
 
-WRAP = -Wl,--wrap=isc__mem_put,--wrap=isc__mem_get,--wrap=isc_mem_attach,--wrap=isc_mem_detach
+WRAP_OPTIONS = -Wl,--wrap=isc__mem_put,--wrap=isc__mem_get,--wrap=isc_mem_attach,--wrap=isc_mem_detach
 tkey_test@EXEEXT@: tkey_test.@O@ ${ISCDEPLIBS} ${DNSDEPLIBS}
-       if test "${LD_WRAP_TESTS}" = true; then wrap="${WRAP}"; fi; \
+       if test "${LD_WRAP_TESTS}" = true; then WRAP="${WRAP_OPTIONS}"; fi; \
        ${LIBTOOL_MODE_LINK} ${PURIFY} ${CC} ${CFLAGS} \
                        ${LDFLAGS} ${WRAP} -o $@ tkey_test.@O@ \
                        ${DNSLIBS} ${ISCLIBS} ${LIBS}