mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
fixup for building libs on 64bit solaris.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
390e74b650
commit
7a39024ace
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-10-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* target.make: For Solaris replace -G with -shared in
|
||||
SHARED_LIB_LINK_CMD to fix bug on 64bit systems where library
|
||||
would contain 32bit dynamic library stubs for 'main' and other
|
||||
functions, causing runtime failure of all code linked with it.
|
||||
|
||||
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Documentation/machines.texi (Debian/PowerPC): Fixed prev node
|
||||
|
|
|
@ -987,7 +987,7 @@ endif
|
|||
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
|
||||
HAVE_SHARED_LIBS = yes
|
||||
SHARED_LIB_LINK_CMD = \
|
||||
$(CC) $(SHARED_LD_PREFLAGS) -G -Wl,-h,$(LIB_LINK_SONAME_FILE) \
|
||||
$(CC) $(SHARED_LD_PREFLAGS) -shared -Wl,-h,$(LIB_LINK_SONAME_FILE) \
|
||||
$(ALL_LDFLAGS) -o $(LIB_LINK_OBJ_DIR)/$(LIB_LINK_VERSION_FILE) $^ \
|
||||
$(INTERNAL_LIBRARIES_DEPEND_UPON) \
|
||||
$(SHARED_LD_POSTFLAGS) \
|
||||
|
|
Loading…
Reference in a new issue