Moved Rhapsody's shared library rule from rules.mk to Rhapsody.mk.
This commit is contained in:
Родитель
ae9c52d91a
Коммит
2eb6738b33
|
@ -41,7 +41,8 @@ ARCH = rhapsody
|
|||
#DSO_LDOPTS = -Bshareable
|
||||
#DSO_LDFLAGS =
|
||||
|
||||
MKSHLIB = $(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1
|
||||
# Do we need this?: -install_name
|
||||
MKSHLIB = $(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1 -all_load
|
||||
DLL_SUFFIX = dylib
|
||||
|
||||
#G++INCLUDES = -I/usr/include/g++
|
||||
|
|
|
@ -257,13 +257,6 @@ ifeq ($(OS_ARCH)$(OS_RELEASE), AIX4.1)
|
|||
| sort -u >> $(OBJDIR)/lib$(LIBRARY_NAME)_syms
|
||||
$(LD) $(XCFLAGS) -o $@ $(OBJS) -bE:$(OBJDIR)/lib$(LIBRARY_NAME)_syms \
|
||||
-bM:SRE -bnoentry $(OS_LIBS) $(EXTRA_LIBS)
|
||||
else
|
||||
ifeq ($(OS_ARCH)$(OS_RELEASE), Rhapsody5.0)
|
||||
@echo Trying to generate Rhapsody dynamic library.
|
||||
# Do we need this?: -install_name
|
||||
$(CC) -arch ppc -dynamiclib -compatibility_version 1 -current_version 1 -all_load $(OBJS) -o $@
|
||||
|
||||
|
||||
else
|
||||
ifeq ($(OS_ARCH), WINNT)
|
||||
ifeq ($(OS_TARGET), WIN16)
|
||||
|
@ -300,7 +293,6 @@ else
|
|||
$(MKSHLIB) -o $@ $(OBJS) $(EXTRA_LIBS) $(OS_LIBS)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
$(PURE_LIBRARY):
|
||||
rm -f $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче