Patch set 96194 v2

[v2] ifpga/base/meson: fix looking for librt

Submitter
(unknown)
Applied on
dpdk-next-net-intel (2508c18cff9ffb217ac40e44071dc2762d257f31)
Date submitted
July 22, 2021, 8:16 a.m.

Test Results Apply Error

Checking patch drivers/raw/ifpga/base/meson.build...
error: while searching for:

rtdep = dependency('librt', required: false)
if not rtdep.found()
	rtdep = cc.find_library('librt', required: false)
endif
if not rtdep.found()
	build = false

error: patch failed: drivers/raw/ifpga/base/meson.build:25
Applying patch drivers/raw/ifpga/base/meson.build with 1 reject...
Rejected hunk #1.
diff a/drivers/raw/ifpga/base/meson.build b/drivers/raw/ifpga/base/meson.build	(rejected hunks)
@@ -25,7 +25,7 @@ sources = [
 
 rtdep = dependency('librt', required: false)
 if not rtdep.found()
-	rtdep = cc.find_library('librt', required: false)
+	rtdep = cc.find_library('rt', required: false)
 endif
 if not rtdep.found()
 	build = false