Correct needed libraries

This commit is contained in:
Rene Vergara 2024-02-25 16:11:10 -06:00
parent 26b21e882b
commit 6b870d91f8
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -93,10 +93,7 @@ rsAddDirs lbi' = do
updateLibBi libBuild =
libBuild
{ includeDirs = rustIncludeDir : includeDirs libBuild
, extraLibs = "rustzcash_wrapper" : extraLibs libBuild
, extraLibDirs = rustLibDir : extraLibDirs libBuild
, extraBundledLibs = "rustzcash_wrapper" : extraBundledLibs libBuild
, ldOptions = ("-L" ++ localData) : ldOptions libBuild
}
copyDir rustLibDir localData
pure $ updateLbi lbi'