mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 06:10:50 +00:00
Modified the rule for building static libraries so that the library is
built with a version number and a symbolic link is made to it. This fixes the installation process so that an install of a staic, debug version of gstep-base will work. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2538 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cbc4eb0dcc
commit
f05acbb1c9
1 changed files with 7 additions and 3 deletions
10
target.make
10
target.make
|
@ -53,10 +53,14 @@ endif
|
|||
#
|
||||
HAVE_SHARED_LIBS = no
|
||||
STATIC_LIB_LINK_CMD = \
|
||||
$(AR) $(ARFLAGS) $(AROUT)$(GNUSTEP_OBJ_DIR)/$(LIBRARY_FILE) $^; \
|
||||
$(RANLIB) $(GNUSTEP_OBJ_DIR)/$(LIBRARY_FILE)
|
||||
$(AR) $(ARFLAGS) $(AROUT)$(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) $^;\
|
||||
$(RANLIB) $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE); \
|
||||
(cd $(GNUSTEP_OBJ_DIR); rm -f $(LIBRARY_FILE); \
|
||||
$(LN_S) $(VERSION_LIBRARY_FILE) $(LIBRARY_FILE))
|
||||
AFTER_INSTALL_STATIC_LIB_COMMAND = \
|
||||
$(RANLIB) $(GNUSTEP_LIBRARIES)/$(LIBRARY_FILE);
|
||||
(cd $(GNUSTEP_LIBRARIES); rm -f $(LIBRARY_FILE); \
|
||||
$(LN_S) $(VERSION_LIBRARY_FILE) $(LIBRARY_FILE); \
|
||||
$(RANLIB) $(GNUSTEP_LIBRARIES)/$(VERSION_LIBRARY_FILE))
|
||||
SHARED_LIB_LINK_CMD =
|
||||
SHARED_CFLAGS =
|
||||
SHARE_LIBEXT =
|
||||
|
|
Loading…
Reference in a new issue