X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libs%2Fyajl%2Fpatches%2F100-link-reformatter-uclibc-libm.patch;h=21aa41f63ca667c1bbedfefd8662cd94efd42f51;hb=58dfc350a892cfb9f81762d028c2ec3ab41546dd;hp=fd637eca553e18d5cde2689dab5fa0f89e4cf473;hpb=f3eeede823154cccbb4757c805c7238e1714bcbb;p=feed%2Fpackages.git diff --git a/libs/yajl/patches/100-link-reformatter-uclibc-libm.patch b/libs/yajl/patches/100-link-reformatter-uclibc-libm.patch index fd637eca55..21aa41f63c 100644 --- a/libs/yajl/patches/100-link-reformatter-uclibc-libm.patch +++ b/libs/yajl/patches/100-link-reformatter-uclibc-libm.patch @@ -1,11 +1,11 @@ --- a/reformatter/CMakeLists.txt +++ b/reformatter/CMakeLists.txt -@@ -26,7 +26,7 @@ +@@ -26,7 +26,7 @@ LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_ ADD_EXECUTABLE(json_reformat ${SRCS}) -TARGET_LINK_LIBRARIES(json_reformat yajl_s) +TARGET_LINK_LIBRARIES(json_reformat yajl_s m) - # copy the binary into the output directory - GET_TARGET_PROPERTY(binPath json_reformat LOCATION) + # In some environments, we must explicitly link libm (like qnx, + # thanks @shahbag)