This might be a recent regression of rustpkg, but rustpkg should pass
through compiler options you give it.

`rustpkg install foo -L some/path` I think is supposed to work.

If nothing else, rustc will definitely take -L arguments. Also, in
your crate source you want to annotate you extern block with
`#[link(name=...)]`.

jack.

On Sat, Feb 1, 2014 at 4:05 PM, Cadence Marseille
<[email protected]> wrote:
> Hello,
>
> It seems that support for #[link_args] was recently removed (even with
> #[feature(link_args)]), so now the -L argument is not being passed to the
> linker command:
> https://travis-ci.org/cadencemarseille/rust-pcre/builds/18054206
>
> How do you specify a library directory when building a package with rustpkg?
>
> Cadence
>
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to