[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Patch to use -G instead of -shared on Solaris
From:       David Collier-Brown <davecb () canada ! sun ! com>
Date:       2001-11-30 16:59:48
[Download RAW message or body]

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@canada.sun.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic