This message was deleted.
# community-support
s
This message was deleted.
m
Specifically, I have two libraries that I must force, in their entirety, into the final link:
Copy code
linkerArgs.add "-Wl,-force_load,$buildDir/libvw_jni.a"
        linkerArgs.add "-Wl,-force_load,$buildDir/libboost_program_options.a"
I am currently downloading the two a second time into $buildDir. Would prefer to use them from the local cache. Open to alternate syntax / methodology for "force_load" equivalent.
"force_load" is macOs example. Here is linux:
Copy code
linkerArgs.add "-Wl,--whole-archive"
        linkerArgs.add "-L${buildDir}"
        linkerArgs.add "-lvw_jni"
        linkerArgs.add "-lboost_program_options"