diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/heimdal_build/wscript_build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index 1a00bd5f4f..cc5dcdc9d1 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -2,7 +2,7 @@ import os from samba_utils import SET_TARGET_TYPE -from samba_autoconf import CURRENT_CFLAGS +from samba_autoconf import CURRENT_CFLAGS, CURRENT_LDFLAGS def to_list(str): '''Split a list, preserving quoted strings and existing lists''' @@ -219,7 +219,7 @@ def HEIMDAL_LIBRARY(libname, source, deps, vnum, features = features, source = [], target = bundled_name, - samba_cflags = CURRENT_CFLAGS(bld, libname, cflags), + samba_cflags = CURRENT_LDFLAGS(bld, libname, cflags), samba_deps = deps, samba_includes = includes, vnum = vnum, @@ -320,7 +320,7 @@ def HEIMDAL_BINARY(binname, source, features = features, source = [], target = binname, - samba_cflags = CURRENT_CFLAGS(bld, binname, cflags), + samba_cflags = CURRENT_LDFLAGS(bld, binname, cflags), samba_deps = deps, samba_includes = includes, local_include = True, |