1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/relocatable-prog
Ben Pfaff fb6aa6ad7d relocatable-prog: fix link error
* modules/relocatable-prog (configure.ac) [RELOCATABLE]: Also
invoke AC_LIBOBJ([relocatable]).  This invocation was previously
in the gl_RELOCATABLE_LIBRARY macro.  That invocation was moved
into modules/relocatable-lib without noticing that
modules/relocatable-prog also invokes gl_RELOCATABLE_LIBRARY and
also needs to build relocatable.c.
2011-08-15 22:33:25 -07:00

61 lines
1.1 KiB
Plaintext

Description:
Help make programs relocatable, that is, to allow them to function
properly when copied to an arbitrary directory.
Files:
build-aux/config.libpath
build-aux/reloc-ldflags
doc/relocatable.texi
lib/relocatable.h
lib/relocatable.c
lib/progreloc.c
m4/relocatable.m4
m4/relocatable-lib.m4
m4/lib-ld.m4
Depends-on:
relocatable-prog-wrapper
progname
canonicalize-lgpl
xalloc
xreadlink
stdbool
unistd
memcmp
strdup
configure.ac:
gl_RELOCATABLE([$gl_source_base])
if test $RELOCATABLE = yes; then
AC_LIBOBJ([progreloc])
AC_LIBOBJ([relocatable])
fi
Makefile.am:
DEFS += -DEXEEXT=\"@EXEEXT@\"
if RELOCATABLE_VIA_WRAPPER
uninstall-hook: uninstall-relocwrapper
uninstall-relocwrapper:
if test $(RELOCATABLE) = yes; then \
case '$(EXEEXT)' in \
.bin*) ;; \
*) cd $(top_builddir) && \
$(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
uninstall ;; \
esac; \
fi
.PHONY: uninstall-relocwrapper
endif
Include:
"relocatable.h"
"progname.h"
License:
GPL
Maintainer:
Bruno Haible, Ben Pfaff