summaryrefslogtreecommitdiff
path: root/include/makeinclude/wrapper_macros.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/wrapper_macros.GNU')
-rw-r--r--include/makeinclude/wrapper_macros.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/wrapper_macros.GNU b/include/makeinclude/wrapper_macros.GNU
index 3029e9ee2fb..821fa56b545 100644
--- a/include/makeinclude/wrapper_macros.GNU
+++ b/include/makeinclude/wrapper_macros.GNU
@@ -226,7 +226,9 @@ ifeq ($(versioned_so),1)
# Name that will be written into the dynamic library
#
- SONAME = $(SHLIB)$(SOVERSION)
+ ifndef SONAME
+ SONAME = $(SHLIB)$(SOVERSION)
+ endif # SONAME
endif # versioned_so
#----------------------------------------------------------------------------