Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def pre_configure_hook_cmake_system(self, *args, **kwargs):
if is_system_toolchain(self.toolchain.name):
self.log.info("Removing configure options that require ncurses static libraries...")
self.log.info(f"Original configopts value: {self.cfg['configopts']}")
regex = re.compile("-DCURSES_[A-Z]+_LIBRARY=\$EBROOTNCURSES/lib/lib[a-z]+\.a")
regex = re.compile(r"-DCURSES_[A-Z]+_LIBRARY=\$EBROOTNCURSES/lib/lib[a-z]+\.a")
self.cfg['configopts'] = regex.sub(self.cfg['configopts'], '')
self.log.info(f"Updated configopts value: {self.cfg['configopts']}")
else:
Expand Down