From 8d55111c73c1508ea69faeb4e32c71647c987832 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 14 Nov 2004 17:02:30 +0000 Subject: [PATCH] Added COMPILE_OSG_OP_OT_WITH_SONAMES is YES guard around soname settings. --- Make/makedefs | 4 ++++ 1 file changed, 4 insertions(+) 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