trackgen: Fix order for plib dependencies

Since ssg depends on sg, the former must be listed first so that
the linker can resolve dependencies accordingly.

This fixes sd2-trackgen builds on Arch Linux-based distributions.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9404 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2070cf0afbbde78810bb948528113e2ee18a8285
Former-commit-id: 931bcfaa22207e43dcec2ee5cde4ed206b430c1e
This commit is contained in:
xavi92 2024-04-20 01:29:35 +00:00
parent 3fe9e59c33
commit a1271353ac

View file

@ -42,7 +42,7 @@ ADD_PNG_LIBRARY(${_TARGET_NAME})
ADD_SDL2_LIBRARY(${_TARGET_NAME})
ADD_PLIB_LIBRARY(${_TARGET_NAME} sg ssg ul)
ADD_PLIB_LIBRARY(${_TARGET_NAME} ssg sg ul)
ADD_DL_LIBRARY(${_TARGET_NAME})
# Needed when using the "MinGW Makefiles" CMake generator (but not with the "MSYS Makefiles" one !?)