Re: SharedLIbrary with SHLIBVERSION
Paweł Tomulik <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Organization | Instytut Techniki Lotniczej i Mechaniki Stosowanej |
| Message-ID | <[email protected]> |
W dniu 19.04.2019 o 23:03, Jason Kenny pisze: > Just a quick question. > > shouldn't SharedLIbrary() return the symlinks that it will generate? > they are targets it generates however it does not return nodes to > these items in the list > > example: > > out = env.SharedLibrary(target='mylib',source="a.c", > SHLIBVERSION='1.2.3') > print([str(i) for i in out]) > > results in the > ['libmylib.so.1.2.3'] > > I would have expected: > ['libmylib.so.1.2.3','libmylib.so.1.2','libmylib.so.1','libmylib.so'] Symlinks get created as side effects of out[0]. You may find them in out[0].side_effects. Mixing library with symlinks in one target list could break (alerady existsing) codes like this lib = env.SharedLibrary(....) prg = env.Program(..., LIBS = lib) Best regards! -- Paweł Tomulik _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users