-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drk: build script doesn't enable optional dependency play
#175
Comments
play
play
I've implemented an alternative way to do it with Let me know if this works. |
I think the fix unfortunately has a new dependency The build error I do get is Looks like the alsa development headers are needed. On my system I had to install
|
Ok yeah, thanks. Will test it on a clean system and report back. |
@adoerr: On a sidenote, please prefer using |
Fixed. |
cargo build -p drk
, will run into the error below:Reason is that this line in build.rs will only enable the
play
feature forrustc
but not thecargo
optional dependencyplay
. This seems to be expected behavior, please see Features enabled through build scripts should have an effect on dependencies.Please note that this error will not surface, if
make
is used sincemake
implies--all-features
. Doing amake check
, however, will trigger the error.Since according to the README,
libmpg123
is a required dependency anyway, we might want to make crateplay
a mandatory dependency fordrk
.OTOH, the feature seems to be prone to causing issues (see #144), we might also consider to let the fun police 👮 have it's way and remove the
play
feature.WDYT?
The text was updated successfully, but these errors were encountered: