diff --git a/README.md b/README.md index db6c620..c5df3bf 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ img = ImageRecipe( link = LinkRecipe( image_recipe = img, outname = "build/app_test_exe", - rpath = nothing, # set automatically when bundling + rpath = "@bundle", # set only when bundling ) bun = BundleRecipe( @@ -100,7 +100,7 @@ bundle_products(bun) ### Bundling and rpath -When `--bundle` (or `BundleRecipe.output_dir`) is set, JuliaC: +When `--bundle` (or `BundleRecipe.output_dir` and `LinkRecipe.rpath == "@bundle"`) is set, JuliaC: - Places the executable in `/bin` and libraries in `/lib` and `/lib/julia` (Windows: everything under `/bin`). - Copies required artifacts alongside the bundle. - Links your output with a relative rpath so the executable finds sibling libs (Unix uses `@loader_path/../lib` or `$ORIGIN/../lib`).