mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared library
metze
This commit is contained in:
parent
54f0ad64a6
commit
c179807165
@ -17,6 +17,7 @@ EXTRA_TARGETS = @DOC_TARGET@
|
||||
PICFLAG = @PICFLAG@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
SHLIBEXT = @SHLIBEXT@
|
||||
SHLD = @SHLD@
|
||||
SHLD_FLAGS = @SHLD_FLAGS@
|
||||
|
||||
.SUFFIXES: .c .o .3 .3.xml .xml .html
|
||||
@ -44,7 +45,7 @@ libtalloc.a: $(LIBOBJ)
|
||||
@-ranlib $@
|
||||
|
||||
$(SOLIB): $(LIBOBJ)
|
||||
$(CC) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(SONAME)
|
||||
$(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(SONAME)
|
||||
|
||||
install: all
|
||||
${INSTALLCMD} -d $(DESTDIR)$(libdir)
|
||||
|
@ -18,6 +18,7 @@ AC_SUBST(DOC_TARGET)
|
||||
AC_LD_PICFLAG
|
||||
AC_LD_SHLIBEXT
|
||||
AC_LD_SONAMEFLAG
|
||||
AC_LIBREPLACE_SHLD
|
||||
AC_LIBREPLACE_SHLD_FLAGS
|
||||
|
||||
AC_OUTPUT(Makefile talloc.pc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user