build: set rdynamic=true to export symbols
This commit is contained in:
parent
cb156a46d6
commit
3947e51025
1 changed files with 1 additions and 0 deletions
|
|
@ -219,6 +219,7 @@ pub const App = struct {
|
||||||
const step = blk: {
|
const step = blk: {
|
||||||
if (platform == .web) {
|
if (platform == .web) {
|
||||||
const lib = b.addSharedLibrary(options.name, sdkPath("/src/main.zig"), .unversioned);
|
const lib = b.addSharedLibrary(options.name, sdkPath("/src/main.zig"), .unversioned);
|
||||||
|
lib.rdynamic = true;
|
||||||
lib.addPackage(sysjs.pkg);
|
lib.addPackage(sysjs.pkg);
|
||||||
|
|
||||||
break :blk lib;
|
break :blk lib;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue