Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 170 forks source link

Add link path in kincfile.js #1285

Open Mavhod opened 3 years ago

Mavhod commented 3 years ago

I make a project from linux target, and I want to add my static lib.

I add some code in kincfile.js like this: project.addLib( "../../../path/to/libxxx.a" );

in makefile from generated will have code like this: -l/absolute/path/libxxx.a

And it build failed because -l is only for library name, so it would have to set path (-L) in kincfile.js, but it seems to have no any way to do it.