Closed MAJigsaw77 closed 1 year ago
I don't believe so. There are several places where the path is more or less hard-coded.
This should be a cool future if added cause we would be able to use any dir we want for libs
Hang on, are you trying to override lime.ndll, or add your own ndll?
Hang on, are you trying to override lime.ndll, or add your own ndll?
Nah, I just want to use another dir than ndll/Platform
one for libs
Can you give an example of a library you're trying to add? I still can't tell if you're trying to override lime.ndll.
Can you give an example of a library you're trying to add? I still can't tell if you're trying to override lime.ndll.
For example, I'm trying to add libvlc.so
into a application and i need to add ndll
in include.xml but I want to use a custom path for it, to not use ndll
folder
I'm not trying to override that lime.ndll xd
Ok, I see what you're getting at. Luckily, I think the option you want is available, it just isn't documented. Instead we have to look at the source code.
Judging from the source, you can set the following attributes in project.xml:
<ndll name="[name]" haxelib="[optional]" dir="[subdirectory]" type="[static or dynamic]" register="[optional]" />
So try something like <ndll name="libvlc.so" dir="your/file/path" if="cpp" />
, and if that doesn't work, try <dependency path="your/file/path/libvlc.so" if="cpp" />
.
I'll try
It works, thank you for helping
Is this possible with the current version of lime?