From 6f1c701026287f6928d3bdd1aea7359308635abe Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 3 Jun 2021 08:26:04 +0200 Subject: dlfcn: Cleanups after -ldl is no longer required This commit removes the ELF constructor and internal variables from dlfcn/dlfcn.c. The file now serves the same purpose as nptl/libpthread-compat.c, so it is renamed to dlfcn/libdl-compat.c. The use of libdl-shared-only-routines ensures that libdl.a is empty. This commit adjusts the test suite not to use $(libdl). The libdl.so symbolic link is no longer installed. Reviewed-by: Adhemerval Zanella --- Makeconfig | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 1d5e45926c..c3496452b6 100644 --- a/Makeconfig +++ b/Makeconfig @@ -1255,12 +1255,6 @@ endif endif # build-shared -ifeq ($(build-shared),yes) -libdl = $(common-objpfx)dlfcn/libdl.so$(libdl.so-version) -else -libdl = $(common-objpfx)dlfcn/libdl.a -endif - ifeq ($(build-shared),yes) libm = $(common-objpfx)math/libm.so$(libm.so-version) libmvec = $(common-objpfx)mathvec/libmvec.so$(libmvec.so-version) -- cgit v1.2.1