зеркало из https://github.com/mozilla/pjs.git
Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
This commit is contained in:
Родитель
5291643fb8
Коммит
bc342d8e7c
|
@ -162,6 +162,12 @@ ALL_TRASH += $(MAPFILE)
|
|||
MKSHLIB += -c $(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH), OSF1)
|
||||
MAPFILE = $(OBJDIR)/nssmap.osf
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
MKSHLIB += -hidden -input $(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
MAPFILE = $(OBJDIR)/nssmap.linux
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
|
|
|
@ -74,25 +74,31 @@ endif
|
|||
|
||||
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
MAPFILE = $(OBJDIR)/nssmap.sun
|
||||
MAPFILE = $(OBJDIR)/sslmap.sun
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
MKSHLIB += -M $(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),AIX)
|
||||
MAPFILE = $(OBJDIR)/nssmap.aix
|
||||
MAPFILE = $(OBJDIR)/sslmap.aix
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
EXPORT_RULES = -bexport:$(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),HP-UX)
|
||||
MAPFILE = $(OBJDIR)/nssmap.hp
|
||||
MAPFILE = $(OBJDIR)/sslmap.hp
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
MKSHLIB += -c $(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH), OSF1)
|
||||
MAPFILE = $(OBJDIR)/sslmap.osf
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
MKSHLIB += -hidden -input $(MAPFILE)
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
MAPFILE = $(OBJDIR)/nssmap.linux
|
||||
MAPFILE = $(OBJDIR)/sslmap.linux
|
||||
ALL_TRASH += $(MAPFILE)
|
||||
MKSHLIB += -Wl,--version-script,$(MAPFILE)
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче