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
Right now autotools-rs builds into OUT_DIR but also configures the installation prefix as OUT_DIR. That means the build files get mixed in with the installation artifacts. Not generally a huge deal, but I have a use case where I want to extract the compiled artifacts without the build artifacts downstream of Cargo.
Would you be open to a patch to bring that behavior upstream? If so, would you prefer it to be configurable or just to make this the default behavior? (FWIW I can't think of a reason that someone would prefer the current behavior to separate build and install directories.)
The text was updated successfully, but these errors were encountered:
That runs ./configure --prefix=BUILDDIR and then runs make install on that, which ... well gosh, I don't know, does that work? Seems very strange! I guess it works if you get lucky and none of the files in the source tree conflict with the files that will be installed?
Right now autotools-rs builds into
OUT_DIR
but also configures the installation prefix asOUT_DIR
. That means the build files get mixed in with the installation artifacts. Not generally a huge deal, but I have a use case where I want to extract the compiled artifacts without the build artifacts downstream of Cargo.This is my current workaround:
https://github.com/MaterializeInc/rust-protobuf-native/blob/cbc2b33ac0d474ca557018f4695cc508076ffeb0/protobuf-src/build.rs#L22-L32
Would you be open to a patch to bring that behavior upstream? If so, would you prefer it to be configurable or just to make this the default behavior? (FWIW I can't think of a reason that someone would prefer the current behavior to separate
build
andinstall
directories.)The text was updated successfully, but these errors were encountered: