]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Remove linking to libamiga and libc
authorCameron Armstrong (Nightfox) <cameronscottarmstrong@gmail.com>
Mon, 5 Aug 2024 04:50:47 +0000 (12:50 +0800)
committerCameron Armstrong (Nightfox) <cameronscottarmstrong@gmail.com>
Tue, 24 Dec 2024 02:09:50 +0000 (10:09 +0800)
CMakeLists.txt

index 11bfa43215e111d15569683e635bb55929f16435..5266def0bb2244a83737ceb958980c4d012999e1 100644 (file)
@@ -385,7 +385,7 @@ if (NOT ("${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
 
        # OSX Mach-O doesn't support linking with '-Bsymbolic-functions'.
        # Others may not support it, too.
-       list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions,-lamiga,-lc")
+       list(APPEND CMAKE_REQUIRED_LIBRARIES "-Wl,-Bsymbolic-functions")
        check_c_source_compiles(
        "
        int main (void)