summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/public.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4
index 5fadcfb08a..c08e2e78bb 100644
--- a/source4/build/m4/public.m4
+++ b/source4/build/m4/public.m4
@@ -43,7 +43,7 @@ ENABLE = YES
"
])
-dnl SMB_BUILD_LIBRARY(name,obj_files,required_subsystems,cflags,ldflags)
+dnl SMB_BUILD_LIBRARY(name,obj_files,required_subsystems,cflags,ldflags,realname)
AC_DEFUN([SMB_BUILD_LIBRARY],
[
MAKE_SETTINGS="$MAKE_SETTINGS
@@ -61,6 +61,7 @@ PRIVATE_DEPENDENCIES = $3
CFLAGS = \$($1_CFLAGS)
LDFLAGS = \$($1_LDFLAGS)
ENABLE = YES
+ifelse([$6], [], [], [LIBRARY_REALNAME = $6])
# End Library $1
###################################
"