Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: enhance Makefile for improved cross-platform library handling
- Updated the TFLITE_LIB_DIR logic to prioritize Homebrew installation on macOS, falling back to the HOME directory if not found. - Added conditional CGO_LDFLAGS for Darwin to ensure proper linking of TensorFlow Lite libraries. - Improved the download-tflite target with clearer echo statements for file movements, enhancing user feedback during the build process. These changes ensure better compatibility and user experience when building on macOS and Linux.
- Loading branch information