gradle-native
gradle-native copied to clipboard
InstallExecutable overwrites LD_LIBRARY_PATH/DYLD_LIBRARY_PATH
I'm trying to link my test but the script to run the test overwrites the LD_LIBRARY_PATH environment variable. Can you update the script to append to LD_LIBRARY_PATH?
LD_LIBRARY_PATH="$APP_BASE_NAME/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
https://github.com/gradle/gradle/blob/6bd6ea1f7152d8ce958dd2b4e28b756c67ac033b/subprojects/platform-native/src/main/java/org/gradle/nativeplatform/tasks/InstallExecutable.java#L252
Sorry for the late reply.
Native support in Gradle is currently not an area of focus. There is no ETA on implementing this.