Patch to use -G instead of -shared on Solaris

David Collier-Brown davecb at canada.sun.com
Fri Nov 30 09:36:03 GMT 2001


This changes configure to put in -G instead of
-shared (-h) when using the Solaris linker. 
elsbeth> diff -u  ../../samba-2.2.2/source/configure configure         

--- ../../samba-2.2.2/source/configure  Sat Oct 13 17:09:16 2001
+++ configure   Fri Nov 30 11:52:26 2001
@@ -8281,8 +8281,9 @@
                *solaris*) cat >> confdefs.h <<\EOF
 #define SUNOS5 1
 EOF
-
-                               ;;
+                       LDSHFLAGS="-G"
+               ;;
                *sunos*) cat >> confdefs.h <<\EOF
 #define SUNOS4 1
 EOF

-- 
David Collier-Brown,           | Always do right. This will gratify 
Americas Customer Engineering, | some people and astonish the rest.
SunPS Integration Services.    |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list