diff --git a/Make/makedefs b/Make/makedefs index 0a45ca2db..9a404d76f 100644 --- a/Make/makedefs +++ b/Make/makedefs @@ -337,7 +337,11 @@ ifeq ($(OS),Linux) ARCHINST = endif else + +ifeq ("$(COMPILE_OSG_OP_OT_WITH_SONAMES)","YES") LDFLAGS += -Wl,-soname -Wl,$@.0 +endif + LIBS = -lstdc++ DEF += -W -Wall -fPIC OPTF = -O2