summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/core.m45
-rw-r--r--source4/build/smb_build/env.m42
-rw-r--r--source4/build/smb_build/output.pl2
3 files changed, 8 insertions, 1 deletions
diff --git a/source4/build/smb_build/core.m4 b/source4/build/smb_build/core.m4
index df95610c98..366b0a364d 100644
--- a/source4/build/smb_build/core.m4
+++ b/source4/build/smb_build/core.m4
@@ -44,6 +44,11 @@ cat >> config.smb_build.pl <<\_SMB_ACEOF
###########################################################
#
#########################################
+## Start Build Env
+$SMB_INFO_BUILD_ENV
+## End Build Env
+#########################################
+#########################################
## Start Ext Libs
$SMB_INFO_EXT_LIBS
## End Ext Libs
diff --git a/source4/build/smb_build/env.m4 b/source4/build/smb_build/env.m4
index 896e128bd3..601eba2e15 100644
--- a/source4/build/smb_build/env.m4
+++ b/source4/build/smb_build/env.m4
@@ -15,6 +15,8 @@ fi
AC_VALIDATE_CACHE_SYSTEM_TYPE
+SMB_INFO_BUILD_ENV=""
+
sinclude(build/smb_build/check_path.m4)
sinclude(build/smb_build/check_perl.m4)
sinclude(build/smb_build/check_cc.m4)
diff --git a/source4/build/smb_build/output.pl b/source4/build/smb_build/output.pl
index 99a0eddb43..0ee456bff6 100644
--- a/source4/build/smb_build/output.pl
+++ b/source4/build/smb_build/output.pl
@@ -212,7 +212,7 @@ sub _generate_binaries($)
}
# Export all symbols...
- push(@LINK_FLAGS,"\@DYNEXP\@");
+ push(@LINK_FLAGS,@{$CTX->{BUILD_ENV}{LD}{DYNEXP}});
#
# set the lists