Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Fix cross-compilation for iOS and possibly other platforms #4

Merged
merged 5 commits into from
Nov 3, 2018

Conversation

djrtl
Copy link

@djrtl djrtl commented Nov 1, 2018

Readline and edit libraries are referenced in the PCRE's cmake configuration but they're only used for tests and binaries which are not produced for the conan packages. As there's no check for that in the original cmake, if support for these libraries is not disabled an additional "-I /usr/include" gets added when cross-compiling for a platform that doesn't have those libraries available, such as iOS, since the system ones are found by CMake. This breaks compilation of the PCRE conan packages on those platforms.

uilianries and others added 5 commits June 5, 2018 22:09
The libpcreposix library uses libpcre, so libpcre must come last (at
least for static linking).
…or tests and binaries, which are needed, and bring in /usr/include even when crosscompiling
@solvingj solvingj changed the base branch from stable/8.41 to testing/8.41 November 3, 2018 20:46
@solvingj solvingj merged commit 35a02bf into bincrafters:testing/8.41 Nov 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
5 participants