try to fix curl linking problems, cos stupid minetest developers dont use pkg-config
* related to minenux/minetest-engine#13 * reported as https://github.com/minetest/minetest/issues/8483 * solved as https://github.com/minetest/minetest/issues/8482#issuecomment-485378755 * the problem was ignored by minetest stupid developers
This commit is contained in:
parent
1d10314a6d
commit
2ba4f559aa
@ -778,8 +778,6 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
# Probably GCC
|
||||
if(APPLE)
|
||||
SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pagezero_size 10000 -image_base 100000000" )
|
||||
endif()
|
||||
@ -821,6 +819,7 @@ else()
|
||||
if(MINGW)
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows")
|
||||
endif()
|
||||
SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lidn -lrtmp -lcom_err -llber -lz -lrt" )
|
||||
endif()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user