]> git.droids-corp.org - dpdk.git/blobdiff - config/meson.build
mempool: fix slow allocation of large mempools
[dpdk.git] / config / meson.build
index 01911ecf94876b09db3d49b65bfe9a49f4af5514..28a57f56fc0fbde56246653fe170052fdf7b407b 100644 (file)
@@ -115,7 +115,7 @@ add_project_link_arguments('-pthread', language: 'c')
 dpdk_extra_ldflags += '-pthread'
 
 # on some OS, maths functions are in a separate library
-if cc.find_library('libm', required : false).found()
+if cc.find_library('m', required : false).found()
        # some libs depend on maths lib
        add_project_link_arguments('-lm', language: 'c')
        dpdk_extra_ldflags += '-lm'