Skip to content

Commit 0a9f366

Browse files
committed
Export build_shared_lib function
1 parent ee2b551 commit 0a9f366

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ build_executable(
3737
snoopfile = "call_functions.jl", # Julia script which calls functions that you want to make sure to have precompiled [optional]
3838
builddir = "path/to/builddir" # that's where the compiled artifacts will end up [optional]
3939
)
40+
41+
# Building a shared library
42+
build_shared_lib("hello.jl")
4043
```
4144

4245

src/PackageCompiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,6 @@ function __init__()
172172
end
173173
end
174174

175-
export compile_package, revert, force_native_image!, executable_ext, build_executable, static_julia
175+
export compile_package, revert, force_native_image!, executable_ext, build_executable, build_shared_lib, static_julia
176176

177177
end # module

0 commit comments

Comments
 (0)