add custom sysroot to linker fails
Created by: AlexDreyfuss
I tried to add my custom sysroot as a linkerflag:
ldflags = --sysroot /env/dev/filesystem/rootfs_images/leveldb_d097eb0//sysroot
and also added to my cxx_binary the header:
linker_flags = ['--sysroot=/env/dev/filesystem/rootfs_images/leveldb_d097eb0//sysroot/usr/lib'],.
Result is linker.argsfile:
-o
buck-out/gen/main
--sysroot
/env/dev/filesystem/rootfs_images/leveldb_d097eb0//sysroot
'--sysroot=/env/dev/filesystem/rootfs_images/leveldb_d097eb0//sysroot/usr/lib'
buck-out/gen/main#compile-test_ConfigReader.cxx.o9a68718d,default/test_ConfigReader.cxx.o
buck-out/gen/debug/utils_debug#default,static/libutils_debug.a
buck-out/gen/config/utils_config#default,static/libutils_config.a
buck-out/gen/utils#default,static/libutils.a
when building the error is or missing lib file from directory or fatal error: no input files