You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. I wanted to ask if the underlying issue is related to this? #12193 if this is solved it would be not necessary to redefine the --prefix right?
There would be workarounds like removing "--prefix=/" prefix from the list of configure_args and then adding that --prefix, but anyway I'm marking this for the next release to be considered as I think it's something that should be solved inside the AutotoolsToolchain.
Yes, #12193 is the other issue I encountered while packaging libmicrohttpd.
Having the possibility to change the prefix is still useful, imho.
I have encountered proejcts where I had to install to a temporary folder and extract "the good parts" to a prefix.
When building toolchains, you even have to perform autotools.install() multiple times (hence Autotools has a namespace).
I think it would be useful to add a package_folder (or something similar) to AutotoolsToolchain.
#11264 switches from using
--prefix={self._conanfile.package_folder}
to--prefix=/
+make install DESTDIR={self._conanfile.package_folder}
.When doing the following to change the prefix, it still installs to
/
.Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
Logs (Executed commands with output) (Include/Attach if Applicable)
Applying conan v2 AutotoolsToolchain to conan-io/conan-center-index#13564 and building mingw on Windows:
configure command: notice how
--prefix
is passed twiceinstall log excerpt:
Notice how the files are installed to
/include
and/lib
instead of the conan prefix.The text was updated successfully, but these errors were encountered: