diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-18 15:17:56 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-19 11:22:35 +1100 |
commit | 968381a4e2e7c8350b89104c17568259d35787a5 (patch) | |
tree | a80423e97e83f16377d4decd3f6dedc968aab332 /source4/heimdal_build/wscript_build | |
parent | 1b8355897d1db0a127b6357ff5a3b2eb1c1e3b71 (diff) | |
download | samba-968381a4e2e7c8350b89104c17568259d35787a5.tar.gz samba-968381a4e2e7c8350b89104c17568259d35787a5.tar.bz2 samba-968381a4e2e7c8350b89104c17568259d35787a5.zip |
waf: put -Wl,-no-undefined only in the linker flags, not when compiling C
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-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, |