mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Added more clever determination of VERSION for libraries when SOVERSION
is used git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6eda8c8c9e
commit
bf32282424
2 changed files with 20 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
|||
Tue Aug 31 16:21:41 2004 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Instance/library.make: If xxx_INTERFACE_VERSION or xxx_SOVERSION
|
||||
is set, but xxx_VERSION is not set, guess xxx_VERSION by taking
|
||||
xxx_INTERFACE_VERSION and appending .0.
|
||||
|
||||
2004-08-24 Quentin Mathe <qmathe@club-internet.fr>
|
||||
|
||||
* ld_lib_path.sh:
|
||||
* ld_lib_path.sh:
|
||||
* ld_lib_path.csh:
|
||||
Added comments to explain why we set DYLD_FRAMEWORK_PATH on Darwin with
|
||||
any library combo and not just apple-apple-apple (it is a temporary
|
||||
|
|
|
@ -76,7 +76,19 @@ ifneq ($($(GNUSTEP_INSTANCE)_VERSION),)
|
|||
endif
|
||||
|
||||
ifeq ($(VERSION),)
|
||||
VERSION = 0.0.1
|
||||
# Check if we can guess VERSION from one of the other version variables
|
||||
ifneq ($($(GNUSTEP_INSTANCE)_INTERFACE_VERSION),)
|
||||
VERSION = $($(GNUSTEP_INSTANCE)_INTERFACE_VERSION).0
|
||||
else
|
||||
# For backwards compatibility we also check xxx_SOVERSION, which
|
||||
# is the old name for xxx_INTERFACE_VERSION
|
||||
ifneq ($($(GNUSTEP_INSTANCE)_SOVERSION),)
|
||||
VERSION = $($(GNUSTEP_INSTANCE)_SOVERSION).0
|
||||
else
|
||||
# No luck with those. Use the default.
|
||||
VERSION = 0.0.1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue