mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 22:53:23 +00:00
build: Fix the LINKER variable.
The LINKER variable is set in configure.ac as either 'CC' or 'CXX' where it is then passed to the created Makefile. This fails with slibtool which can't find the 'CC' file and can be fixed by correctly setting the LINKER variable to an actual Makefile variable like '$(CC)' or '$(CXX)' instead. Presumably GNU libtool does some magic here to hide the issue.
This commit is contained in:
parent
4077f7a2d9
commit
d2e8998f80
1 changed files with 2 additions and 2 deletions
|
|
@ -84,10 +84,10 @@ esac
|
|||
dnl use CXX for linker on Haiku
|
||||
case "$host" in
|
||||
*-*-haiku*)
|
||||
LINKER=CXX
|
||||
LINKER='$(CXX)'
|
||||
;;
|
||||
*)
|
||||
LINKER=CC
|
||||
LINKER='$(CC)'
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(LINKER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue