[Scons-users] relationship between sharedlibrary and loadablemodule?
Paweł Tomulik
ptomulik at meil.pw.edu.pl
Thu Jul 7 00:53:42 EDT 2016
W dniu 07.07.2016 o 05:45, Daniel Holth pisze:
> I've been working on some code that pulls distutils compiler arguments
> into scons, but it doesn't update LoadableModule. Is LoadableModule only
> related to LINKFLAGS and not SHLINKFLAGS?
>
> Thanks
>
> compiler = ext.compiler
> env.Replace(CC=compiler.compiler[0])
> env.Replace(CFLAGS=compiler.compiler[1:])
> env.Replace(CXX=compiler.compiler_cxx[0])
> env.Replace(LINKFLAGS=compiler.linker_exe[1:])
> env.Replace(SHLINKFLAGS=compiler.linker_so[1:])
> env.Append(CPPPATH=compiler.include_dirs)
> env.Append(LIBPATH=compiler.library_dirs)
>
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
A I see, by default env['LDMODULEFLAGS'] == '$SHLINKFLAGS', so it should
alter LoadableModule, unless env['LDMODULEFLAGS'] is set to something
different (or unset) in your case.
--
Pawel Tomulik
More information about the Scons-users
mailing list