Skip to content

meson: do not link libshared dynamically against libudev#5850

Merged
martinpitt merged 1 commit intosystemd:masterfrom
mbiebl:meson-libudev
Apr 29, 2017
Merged

meson: do not link libshared dynamically against libudev#5850
martinpitt merged 1 commit intosystemd:masterfrom
mbiebl:meson-libudev

Conversation

@mbiebl
Copy link
Contributor

@mbiebl mbiebl commented Apr 28, 2017

Linking dynamically against libudev will fail once
mesonbuild/meson#1545 is merged and apparently
already triggers a link failure on s390x.

Make libshared provide the udev symbols by including libudev_sources
into libshared. This will cause those files to be compiled twice, but it
actually reduces the installed size and is closer to what the autotools
build system is doing.

Closes #5828

Linking dynamically against libudev will fail once
mesonbuild/meson#1545 is merged and apparently
already triggers a link failure on s390x.

Make libshared provide the udev symbols by including libudev_sources
into libshared. This will cause those files to be compiled twice, but it
actually reduces the installed size and is closer to what the autotools
build system is doing.

Closes systemd#5828
Copy link
Contributor

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers! It's great to see CI being green again!

@martinpitt martinpitt merged commit 8e899a9 into systemd:master Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

build with meson fails with ld.bfd (using -Dlink-udev-shared=false -Db_lto=true)

2 participants