Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set rpath instead of changing environment for RPi
Credit goes to Adrian Perez de Castro for the improvement. Signed-off-by: Guillermo A. Amaral <firstname.lastname@example.org>
- Loading branch information
Showing with 4 additions and 17 deletions.
|RPI_LDFLAGS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host"|
|RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"|
|RPI_LDFLAGS="-Wl,-rpath,/opt/vc/lib -L/opt/vc/lib -lbcm_host"|
|# Save the original compiler flags and libraries|