Added sonames support under Linux/gcc
This commit is contained in:
parent
7d43aee78d
commit
f5a2ba0194
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user