Build system help adding system obj file

Michael Stahl mst at libreoffice.org
Mon Oct 26 09:10:15 UTC 2020


On 25.10.20 05:25, Deborah Barkley-Yeung wrote:
> Hello,
> 
> I'm trying to fix bug #48413. So looking at 
> https://docs.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments?view=vs-2019 
> <https://docs.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments?view=vs-2019>, 
> I think I just need to link setargv.obj.
> 
>   However I don't understand the build system well enough to know how to 
> make it link in a system object file. Does anyone have any suggestions 
> about how to approach this?

i suspect something like this should work, you'll have to find a 
variable in config_host.mk that leads to the file...

$(eval $(call gb_Executable_add_libs,soffice_exe,\
     $(SOMETHING)/setargv.obj \
))


More information about the LibreOffice mailing list