diff options
-rw-r--r-- | Ports/c-ray/patches/fix-linkage.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/c-ray/patches/fix-linkage.patch b/Ports/c-ray/patches/fix-linkage.patch index a957421f22..f8a44bcf16 100644 --- a/Ports/c-ray/patches/fix-linkage.patch +++ b/Ports/c-ray/patches/fix-linkage.patch @@ -7,7 +7,7 @@ index 5ccce96..1db6074 100644 target_link_libraries(${PROJECT_NAME} ${SDL2_LIBRARY}) else() - target_link_libraries(${PROJECT_NAME} -lpthread -lm ${SDL2_LIBRARY}) -+ target_link_libraries(${PROJECT_NAME} -lSDL2 -lgui -ldraw -lgfx -lipc -lcore -lpthread -lm -lstdc++) ++ target_link_libraries(${PROJECT_NAME} -lSDL2 -lgui -lgfx -lipc -lcore -lpthread -lm -lstdc++) endif() add_definitions(-DUI_ENABLED) else() @@ -16,7 +16,7 @@ index 5ccce96..1db6074 100644 target_link_libraries(${PROJECT_NAME}) else() - target_link_libraries(${PROJECT_NAME} -lpthread -lm) -+ target_link_libraries(${PROJECT_NAME} -lgui -ldraw -lipc -lcore -lpthread -lm -lstdc++) ++ target_link_libraries(${PROJECT_NAME} -lgui -lipc -lcore -lpthread -lm -lstdc++) endif() endif() else() @@ -25,6 +25,6 @@ index 5ccce96..1db6074 100644 target_link_libraries(${PROJECT_NAME}) else() - target_link_libraries(${PROJECT_NAME} -lpthread -lm) -+ target_link_libraries(${PROJECT_NAME} -lgui -ldraw -lipc -lcore -lpthread -lm -lstdc++) ++ target_link_libraries(${PROJECT_NAME} -lgui -lipc -lcore -lpthread -lm -lstdc++) endif() endif() |