Tanks for your reply. ---????????--- ??????: "marko kiiskila"<[email protected]> ????????: 2016??11??9?? 00:49:14 ??????: "dev"<[email protected]>; ????: Re: How to link the thirdparty library such as .a file into myproject?
Hi, when in doubt, you can take a look at output of newt -lDEBUG build <your_target> That??ll show the command line during linking. I admit, that looks promising. When I tried that one out, those flags were not passed to linker, however. So it??s quite possible that pkg.lflags are not honored. Also, we need more native support on newt for this, as having to use absolute path in that line pointing to .a is not good. > On Nov 7, 2016, at 5:26 PM, ?????? <[email protected]> wrote: > > I have to add this line to my pkg.xml: > pkg.lflags: /workspace/hw/mcu/synochip/as568/src/as568_romfunc.a > /workspace/hw/mcu/synochip/as568/src/as568_crypto.a > > > Seems that works for me, but i'm not sure is that really OK? > > > > > > > > > > > > > > > > > [email protected]
