From b5f0997b4edf53e7734494f0581bdf8a26b244be Mon Sep 17 00:00:00 2001 From: James Bonfield Date: Thu, 4 Jul 2024 10:39:31 +0100 Subject: [PATCH] tmp test --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8e2cccdfc..9b72c55a7 100644 --- a/Makefile +++ b/Makefile @@ -822,6 +822,8 @@ test-shlib-exports: header-exports.txt shlib-exports-$(SHLIB_FLAVOUR).txt @echo "Checking shared library exports" @if test ! -s header-exports.txt ; then echo "Error: header-exports.txt empty" ; false ; fi @if test ! -s shlib-exports-$(SHLIB_FLAVOUR).txt ; then echo "Error: shlib-exports-$(SHLIB_FLAVOUR).txt empty" ; false ; fi + echo === header-exports; cat header-exports.txt + echo === shlib-exports; cat shlib-exports-$(SHLIB_FLAVOUR).txt @! comm -23 header-exports.txt shlib-exports-$(SHLIB_FLAVOUR).txt | grep . || \ ( echo "Error: Found unexported symbols (listed above)" ; false ) @@ -837,6 +839,7 @@ shlib-exports-dylib.txt: libhts.dylib nm -Ug libhts.dylib | awk '$$2 == "T" { sub("^_", "", $$3); print $$3 }' | sort -u -o $@ shlib-exports-dll.txt: hts.dll.a + nm -g hts.dll.a nm -g hts.dll.a | awk '$$2 == "T" { print $$3 }' | sort -u -o $@ $(srcprefix)htslib.map: libhts.so