Clarifying the usage of the --library option
authorHinTak <htl10@users.sourceforge.net>
Fri, 1 Sep 2017 22:01:51 +0000 (23:01 +0100)
committerMarek Safar <marek.safar@gmail.com>
Fri, 1 Sep 2017 22:24:40 +0000 (00:24 +0200)
I found that multiple libraries need to be specified in dependency order. That was not obvious from the man page. Make it explicit.

See https://bugzilla.xamarin.com/show_bug.cgi?id=59154

man/mkbundle.1

index 8a738a56f8384e332e678ccc94640c1dbf102d19..adcc3adff0cc13aa51b8dd2ec5f3669c7340d19a 100644 (file)
@@ -177,7 +177,9 @@ same as for the compiler -lib: or -L flags.
 Embeds the dynamic library file pointed to by `PATH' and optionally
 give it the name `LIB' into the bundled executable.   This is used to
 ship native library dependencies that are unpacked at startup and
-loaded from the runtime.
+loaded from the runtime. Multiple libraries should be specified in
+dependency order, where later ones on the command line depend on
+earlier ones.
 .TP
 .I "--lists-targets"
 Lists all of the available local cross compilation targets available