From: Richard Sharpe Date: Tue, 8 May 2012 12:53:10 +0000 (+0200) Subject: s3-VFS: Fix building out-of-tree modules. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca9538bcd8ac153ab7d9bc21dab01d702d13c554;p=thirdparty%2Fsamba.git s3-VFS: Fix building out-of-tree modules. Fix bug #8822 (VFS module init function name has to be manually changed depending on build environment). (cherry picked from commit d2f4164e3db2c341ff3a1b35a68f691848c9a859) --- diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in index 8fe414a9e8c..98d259f0403 100644 --- a/examples/VFS/Makefile.in +++ b/examples/VFS/Makefile.in @@ -36,7 +36,7 @@ default: $(patsubst %.c,%.$(SHLIBEXT),$(wildcard *.c)) %.$(OBJEXT): %.c @echo "Compiling $<" - @$(CC) $(FLAGS) -c $< + @$(CC) $(FLAGS) -c $< -D$*_init=init_samba_module install: default