termux-packages/packages/libjasper/CMakeLists.txt.patch

12 lines
258 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -725,7 +725,7 @@
find_library(MATH_LIBRARY m)
if(NOT MATH_LIBRARY)
- set(MATH_LIBRARY "")
+ set(MATH_LIBRARY "-lm")
endif()
################################################################################