[Mono-devel-list] libpkg-config ? was GAC and third party libraries: post Beta planning.
Ian MacLean
ianm at ActiveState.com
Fri May 7 01:06:17 EDT 2004
I just wondering if pkg-config functionality is available in a library
form ? How is the proposed mcs pkg-config support going to be
implemented ? I assume it won't be by shelling out to the pkg-config binary.
libpkg-config and maybe a pkg-config-sharp wrapper seem like they could
be useful going forward.
Ian
Kamil Skalski wrote:
>
>In my implementation, I've used simple trick - if I encounter -p switch I take
>supplied string, feed it to pkg-config --libs
>
> def execute_pkgconfig (opt : string) {
> def pkg = System.Diagnostics.Process ();
> pkg.StartInfo.FileName <- "pkg-config";
> pkg.StartInfo.Arguments <- ("--libs " + opt);
> ....
>
>and later recursively parse result of execution.
>
>Kamil Skalski
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
--
Ian MacLean, Developer,
ActiveState, a division of Sophos
http://www.ActiveState.com
More information about the Mono-devel-list
mailing list