Change link of shared libs to take OS_LIBS after application libs.

Also, change default loader on IRIX from ld to CC, since DSO's with
C++ code need to use the C++ loader.  Using ld causes memory
trashing.
This commit is contained in:
spider 1998-06-02 01:15:45 +00:00
Родитель 035e8b2060
Коммит fb25a42c5a
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -28,6 +28,7 @@ endif
DEFAULT_COMPILER = cc
LINK_PROGRAM = $(CCC)
LD = $(CCC)
ifdef NS_USE_GCC
CC = gcc

Просмотреть файл

@ -290,7 +290,7 @@ else
endif
endif
else
$(MKSHLIB) -o $@ $(OBJS) -all $(AR_LIBS) -none $(LD_LIBS) $(OS_LIBS) $(EXTRA_LIBS)
$(MKSHLIB) -o $@ $(OBJS) -all $(AR_LIBS) -none $(LD_LIBS) $(EXTRA_LIBS) $(OS_LIBS)
chmod +x $@
endif
endif