Skip to content

Commit

Permalink
build(bit7z): fix incorrect library path
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan committed Sep 29, 2024
1 parent bad0237 commit 8e1af93
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build_scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,10 +596,11 @@ def execscript(filepath):
bit7z_cmake_args.append("-DCMAKE_CXX_FLAGS=-fPIC")
cmake_configure("..",generator,bit7z_cmake_args)
cmake_build("Release")
cmake_args += [
"-DDEPENDENCY_BIT7Z_INCLUDE=" +bit7z_root +"/include/",
"-DDEPENDENCY_BIT7Z_LIBRARY=" +bit7z_root +"/lib/x64/Release/libbit7z.a"
]
if platform == "linux":
bit7z_lib_name = "libbit7z.a"
else:
bit7z_lib_name = "bit7z.lib"
cmake_args += ["-DDEPENDENCY_BIT7Z_INCLUDE=" +bit7z_root +"/include/", "-DDEPENDENCY_BIT7Z_LIBRARY=" +bit7z_root +"/lib/x64/Release/" +bit7z_lib_name]

########## compressonator deps ##########
if platform == "linux":
Expand Down

0 comments on commit 8e1af93

Please sign in to comment.