-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I am trying to build some libraries using .configure but I am getting this error while trying to build it for iPhone Simulator for macOS.
Following is my profile:
include(default)
[settings]
os=iOS
os.version=11.0
arch=x86_64
[build_requires]
darwin-toolchain/1.0.4@theodelrieu/stable
build in conanfile.py
autotools = AutoToolsBuildEnvironment(self)
self.run("cd .. && autoreconf -fsi")
autotools.configure(configure_dir="..", args=["--prefix=${PWD}"])
autotools.make()
error while building for iOS simulator
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
ERROR: conanfile.py (meshlink/None): Error in build() method, line 17
autotools.configure(configure_dir="..", args=["--prefix=${PWD}"])
ConanException: Error 1 while executing ../configure '--prefix=${PWD}' '--bindir=${prefix}/bin' '--sbindir=${prefix}/bin' '--libexecdir=${prefix}/bin' '--libdir=${prefix}/lib' '--includedir=${prefix}/include' '--oldincludedir=${prefix}/include' '--datarootdir=${prefix}/share' --build=x86_64-apple-darwin --host=x86_64-apple-darwin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels