Added sonames support under Linux/gcc

This commit is contained in:
Robert Osfield 2004-11-14 16:36:27 +00:00
parent 7d43aee78d
commit f5a2ba0194

View File

@ -317,6 +317,7 @@ ifeq ($(OS),Linux)
C++ = $(CXX) C++ = $(CXX)
endif endif
DEPARG = -M DEPARG = -M
INC += INC +=
@ -336,6 +337,7 @@ ifeq ($(OS),Linux)
ARCHINST = ARCHINST =
endif endif
else else
LDFLAGS += -Wl,-soname -Wl,$@.0
LIBS = -lstdc++ LIBS = -lstdc++
DEF += -W -Wall -fPIC DEF += -W -Wall -fPIC
OPTF = -O2 OPTF = -O2