diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 49c990d1876c8c9b68d5fdf3a4e13cbffafb0f42..8477f5e17dc003f4f5df78f35c2b2f35d62c7784 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -22,7 +22,7 @@ endif() # # libev uses ceil and floor from the standard math library # -target_link_libraries(ev m) +target_link_libraries(ev m rt) # # Build admin.m from admin.rl, but only if admin.rl was changed. diff --git a/debian/patches/debian-kfreebsd-link-options b/debian/patches/debian-kfreebsd-link-options new file mode 100644 index 0000000000000000000000000000000000000000..771994e70d1eeaf429c6e39be1f8b26b691cfdac --- /dev/null +++ b/debian/patches/debian-kfreebsd-link-options @@ -0,0 +1,11 @@ +--- tarantool-1.4.4+20120116.orig/core/CMakeLists.txt ++++ tarantool-1.4.4+20120116/core/CMakeLists.txt +@@ -22,7 +22,7 @@ endif() + # + # libev uses ceil and floor from the standard math library + # +-target_link_libraries(ev m) ++target_link_libraries(ev m rt) + + # + # Build admin.m from admin.rl, but only if admin.rl was changed. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000000000000000000000000000000000..c2a6f41754f8e80e691ebb691b12874befc00e6e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +debian-kfreebsd-link-options