-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to assign an environment variable from DUB? #940
Comments
If everything is right, it should forward environment variables from the parent environment to the compiler/liner, so |
I want to have an opportunity to run again created application (from dub)
I tried to change source text of DUB entering the next lines there:
I ask to consider the possibility of change of an algorithm of dub for |
It wouldn't be a good idea to put machine specific paths into the package recipe, as it is one of the goals of DUB to avoid this kind of system setup dependence. A library path within the package directory would be okay, though. An alternative for LD_LIBRARY_PATH it to directly specify library files with their full path in the "sourceFiles" directive. Are there any other environment variables that would be important for the compiler/linker? |
Sorry. We don't understand each other :-( |
I suggest to add:
change build.d: |
fixed with #2121 |
My application in Linux shall load the libraries from a certain place. How to tell DUB what it would change LD_LIBRASRY_PATH?
The text was updated successfully, but these errors were encountered: