1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
gnulib/modules/relocatable-lib
Bruno Haible 34951d0cb0 relocatable-lib: Fix and simplify previous commit.
* m4/relocatable-lib.m4 (gl_RELOCATABLE_LIBRARY_BODY): Invoke gl_LIBDL.
Define HAVE_DLADDR_IN_LIBC.
* modules/relocatable-lib (configure.ac): Revert last change.
* modules/relocatable-lib-lgpl (Files): Add m4/libdl.m4.
(configure.ac): Revert last change.
* lib/relocatable.c (_GL_USE_PROCFS, _GL_USE_WIN32, _GL_USE_DLADDR):
Remove macros.
(ENABLE_COSTLY_RELOCATABLE): Update comments.
(find_shared_library_fullname): Use dladdr as first alternative. Test
HAVE_DLADDR_IN_LIBC instead of _GL_USE_PROCFS. Define as macro.
(get_shared_library_fullname): Update comments. Test
find_shared_library_fullname instead of _GL_USE_WIN32.
2025-12-09 14:58:00 +01:00

37 lines
546 B
Plaintext

Description:
Help make libraries relocatable, that is, to allow them to function
properly when copied to an arbitrary directory.
Files:
doc/relocatable.texi
lib/relocatable.h
lib/relocatable.c
lib/relocatable.valgrind
m4/relocatable-lib.m4
m4/libdl.m4
m4/build-to-host.m4
Depends-on:
xalloc
strdup
configure.ac:
gl_RELOCATABLE_LIBRARY
if test $RELOCATABLE = yes; then
AC_LIBOBJ([relocatable])
fi
Makefile.am:
Include:
"relocatable.h"
Link:
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
GPL
Maintainer:
Ben Pfaff