зеркало из https://github.com/mozilla/pjs.git
Bugzilla bug 303508: a more elegant way to decide when we need to prefix
LIBRARY_VERSION with '_'. r=nelsonb.
This commit is contained in:
Родитель
dc7fc6412b
Коммит
ad39a7ded6
|
@ -1,4 +1,4 @@
|
|||
|
||||
#
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
|
@ -50,26 +50,26 @@ LIBRARY_VERSION = 3
|
|||
ifdef FREEBL_CHILD_BUILD
|
||||
ifdef USE_ABI32_INT32
|
||||
LIBRARY_NAME = freebl_32int
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
ifdef USE_ABI32_INT64
|
||||
LIBRARY_NAME = freebl_32int64
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
ifdef USE_ABI32_FPU
|
||||
LIBRARY_NAME = freebl_32fpu
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
ifdef USE_ABI64_INT
|
||||
LIBRARY_NAME = freebl_64int
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
ifdef USE_ABI64_FPU
|
||||
LIBRARY_NAME = freebl_64fpu
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
endif
|
||||
|
||||
# if the library name contains _, we prefix the version with _
|
||||
ifneq (,$(findstring _,$(LIBRARY_NAME)))
|
||||
LIBRARY_VERSION := _$(LIBRARY_VERSION)
|
||||
endif
|
||||
|
||||
MAPFILE_SOURCE = freebl.def
|
||||
MAPFILE = $(OBJDIR)/$(LIBRARY_NAME).def
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче