samba 4 build issue ...

Björn JACKE bj at SerNet.DE
Mon Jan 14 13:20:00 GMT 2008


Hi Jelmer,

taking a look at

--- snip ---
Sun Jan 13 03:46:11 2008
1d 9h 26m ago - bba8914af56cb161c275fbbdea2479d6f8bd703c
show diffs
download diffs

Try to fix the build on Tru64; avoid single quotes because they get expanded by perl in the build system.


Author: Jelmer Vernooij
Modified: source/lib/replace/libreplace_ld.m4

diff --git a/source/lib/replace/libreplace_ld.m4 b/source/lib/replace/libreplace_ld.m4
index cb8e214..0ca6f7a 100644
--- a/source/lib/replace/libreplace_ld.m4
+++ b/source/lib/replace/libreplace_ld.m4
@@ -265,7 +265,7 @@ AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG],
 			LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,--allow-shlib-undefined"
 			;;
 		*osf*)
-			LD_SHLIB_ALLOW_UNDEF_FLAG="-expect_unresolved '*'"
+			LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,-expect_unresolved,*"
 			;;
 		*darwin*)
 			LD_SHLIB_ALLOW_UNDEF_FLAG="-undefined dynamic_lookup"

--- snap ---

... I think you should change this this to \"*\" if ' is not possible. An
unquoted * is being shell expanded :-)

Cheers
Björn


More information about the samba-technical mailing list