From e5162080b71e9f0f21f8e70a5f9d94cc2dc6d30d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 20 Aug 2008 15:06:02 +0200 Subject: [PATCH] build: autogenerate symbols for libsmbclient.so Michael (cherry picked from commit d6fb6348a3672e915556dcb36c1a4999d4abae18) (cherry picked from commit f5c484caa57c6aff276118d7c901dda33d32cf3b) --- source/Makefile.in | 7 +++++-- source/exports/libsmbclient.syms | 4 ---- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 source/exports/libsmbclient.syms diff --git a/source/Makefile.in b/source/Makefile.in index 0171330b64a..836889804e0 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -1917,10 +1917,13 @@ LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@ LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER) LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@ LIBSMBCLIENT=$(LIBSMBCLIENT_STATIC_TARGET) @LIBSMBCLIENT_SHARED@ -#LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@ +LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@ LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h -$(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS) + @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS) + +$(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \ diff --git a/source/exports/libsmbclient.syms b/source/exports/libsmbclient.syms deleted file mode 100644 index 3062e34bfdb..00000000000 --- a/source/exports/libsmbclient.syms +++ /dev/null @@ -1,4 +0,0 @@ -{ - global: smbc_*; - local: *; -}; -- 2.11.4.GIT