Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Resolve build failures by unsetting LD_LIBRARY_PATH and using st…
…dbuf (milkv-duo#133) The build process was failing due to the current working directory being present in the LD_LIBRARY_PATH, which can lead to unpredictable behavior and errors. This commit addresses the issue in two ways: 1. Unsetting LD_LIBRARY_PATH: Before invoking , the environment variable is explicitly unset. This ensures that the build process uses system libraries from standard locations, preventing conflicts with potentially outdated or incorrect libraries in the current working directory. 2. Using stdbuf -oL with make: The original command was replaced with . This forces line buffering of the output from , ensuring that build logs are displayed correctly and in a timely manner. This change addresses potential issues with buffering that could lead to incomplete or delayed log output. These changes together resolve the build failures reported in milkv-duo#133 and improve the reliability and consistency of the build process.
- Loading branch information