From 960acf856f49e65ed31e096aa5fb4aeed237172e Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 27 Jan 2017 11:11:21 +0100 Subject: multipath-tools: fix building of shared objects When -pie is in CFLAGS, it overrides the -shared compiler flag, leading to link errors (undefined main) for shared objects. Parameters must be ordered so that -shared comes last. Signed-off-by: Patrick Ohly Signed-off-by: Martin Jansa --- meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb') diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb index 6bd611895..2ab4dad23 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb @@ -11,6 +11,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \ file://always-use-libdevmapper-kpartx.patch \ file://do-not-link-libmpathpersist-to-TMPDIR.patch \ file://0001-multipathd.service-Error-fix.patch \ + file://shared-libs-avoid-linking-.so-as-executable.patch \ " # 0.5.0 # -- cgit v1.2.3-54-g00ecf