Add magic link args

This commit is contained in:
Srayan Jana committed 2025-09-21 21:28:09 -07:00
1 parent fd5a28cb79
commit 3b38258512
1 file changed
+2 -1
+2 -1
View File
@@ -166,5 +166,6 @@ target libleansdl pkg : FilePath := do
@[default_target]
lean_lib SDL where
moreLinkObjs := #[libleansdl]
moreLinkArgs := #["-Wl,--allow-shlib-undefined"]
-- make sure to copy these link args into whatever project is using this library in order for it to work
moreLinkArgs := #["-Wl,--allow-shlib-undefined", "-Wl,-rpath=$ORIGIN"]
moreLinkLibs := #[libSDL3, libSDL3Image]