Hi, I read what you post and I tried what is in the site but with no sucess:
*PKG_CONFIG_LIBDIR=/path/to/cross/lib/pkgconfig* *export PKG_CONFIG_LIBDIR* *exec /usr/bin/pkg-config "$@"* BTW I manually change the smbclient.pc so the path point to the right location and it works but now I have the same problem for others packages so the problem is in bad PATH variable set. Can you help me with *The best way is to install pkg-config in your cross-compilation environment. It will automatically use the cross-compilation libraries. *and how can I do it? Cumprimentos, Jose Xavier 2015-12-24 22:54 GMT+00:00 Nicolas George <[email protected]>: > Le quartidi 4 nivôse, an CCXXIV, José Eduardo S. C. Xavier a écrit : > > When I do ./configure on ffmpeg src folder it says it can't find > > libsmbclient.h. Looking on config.log file it looks like pkg-config is > > looking for host package instead of target package. > > Well, you have "--pkg-config=pkg-config" in your configure line, what did > you expect? > > > http://ffmpeg.org/faq.html#How-do-I-use-pkg_002dconfig-when-cross_002dcompiling_003f > > Regards, > > -- > Nicolas George > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
