Hi Otto,
For each dependent library you want to specify add the option: -rml Rootmap library name
Specify the name of the library which contains the autoload keys. This
switch can be specified multiple times to autoload several libraries in
presence of a particular key.
Note that we actually strongly recommend to no longer use this feature but instead rely on explicitly linking the dependent library to the library itself. I.e.
g++ --shared -o libTMrbUtils.so .... ${OBJECT_FILES} ..... -lGraf
This allows to then add to that link line the flag-Wl,--no-undefined
which will warn you of missing symbols (if any) at compile time rather than delaying the check until run-time.
Cheers,
Philippe.