#Getting the path of installed lib

1 messages · Page 1 of 1 (latest)

flint needle
#

I am using the build system and i am installing a shared library. Is there a way to get the path to the installed library inside the build script?

lament tusk
flint needle
#

The problem with getEmittedBin seems to be that it points to the cache rather then the final install path.

lament tusk
#

Is there a reason you specifically want it to be in the install path?

flint needle
#

My idea is to implement "hot reload" when its in debug mode. To do that i used options to provide the path to the executable. If its a not a constant path like zig-cache this wont work. So i assume the install path would be a safe bet.

mint hull
#

fwiw, the Step.Compile has no idea where it will eventually be installed, it only knows where the initial compilation result will be placed (and it's always in the cache)

flint needle
lament tusk
flint needle
#

the idea was to avoid such thing, but I guess I have no choice