BUILD: Fix linking the PS3 build with SDL_Net

This commit is contained in:
Bastien Bouclet 2016-08-31 08:09:36 +02:00
parent 4d11f2fbf0
commit cd86de0dc2

2
configure vendored
View file

@ -2604,6 +2604,8 @@ case $_host_os in
append_var DEFINES "-DPLAYSTATION3" append_var DEFINES "-DPLAYSTATION3"
append_var CXXFLAGS "-mcpu=cell -mminimal-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include" append_var CXXFLAGS "-mcpu=cell -mminimal-toc -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include"
append_var LDFLAGS "-L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib" append_var LDFLAGS "-L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib"
# The network libraries are statically linked and need to be specified in the following order
append_var SDL_NET_LIBS "-lSDL_net -lnet -lsysmodule"
add_line_to_config_mk 'PLAYSTATION3 = 1' add_line_to_config_mk 'PLAYSTATION3 = 1'
add_line_to_config_h "#define PREFIX \"${prefix}\"" add_line_to_config_h "#define PREFIX \"${prefix}\""
;; ;;