Re: Bug#942795: Acknowledgement (libsoxr: Building with "nocheck" results in a broken soxr.pc pkg-config file)

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.68k,gmane.linux.debian.ports.superh
Message-ID <[email protected]>
Hi!

Okay, this is actually caused by passing "-DBUILD_EXAMPLES=1" to cmake.

I have not been able to find out what the problem is - it's an upstream
bug - but in Debian it can easily be fixed by removing the following
paragraph from debian/rules which turns out not to be necessary:

ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
CONFIGURE_FLAGS += -DBUILD_TESTS=0 -DBUILD_EXAMPLES=1
endif

With the paragraph removed, "nocheck" still works as expected and building
with "nocheck" no longer results in a broken soxr.pc.

Thanks,
Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.