Fix the static-class-object-from-DSO problem. Approved by briano.

This commit is contained in:
akkana%netscape.com 1998-10-31 00:38:27 +00:00
Родитель 10c5bd423c
Коммит 12e1fbd5c6
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -87,6 +87,10 @@ endif
ifndef NS_USE_GCC ifndef NS_USE_GCC
CC = cc CC = cc
CCC = CC -woff 3247 CCC = CC -woff 3247
# Use C++ compiler for loading -- ld doesn't pass enough info
# to resolve static class objects in shared libraries.
LD = $(CCC)
endif endif
ifeq ($(OS_RELEASE)$(OS_VERSION),5.3) ifeq ($(OS_RELEASE)$(OS_VERSION),5.3)