mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Set rpath instead of changing environment for RPi
Credit goes to Adrian Perez de Castro for the improvement. Signed-off-by: Guillermo A. Amaral <g@maral.me>
This commit is contained in:
parent
965c11f38a
commit
bd0def06ee
4 changed files with 4 additions and 17 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -19551,7 +19551,7 @@ fi
|
|||
RPI_LDFLAGS="-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lbcm_host"
|
||||
else
|
||||
RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
|
||||
RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
|
||||
RPI_LDFLAGS="-Wl,-rpath,/opt/vc/lib -L/opt/vc/lib -lbcm_host"
|
||||
fi
|
||||
|
||||
# Save the original compiler flags and libraries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue