Skip to content
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

Install .dll files into bin directory #32

Open
markand opened this issue Dec 6, 2018 · 6 comments
Open

Install .dll files into bin directory #32

markand opened this issue Dec 6, 2018 · 6 comments

Comments

@markand
Copy link

markand commented Dec 6, 2018

Hello,

On Windows, .dll files are installed in the lib/ directory under the prefix. This is quite awkward and should be installed into bin/ directory as many other projects and conventions do.

Thus, user that adds PATH to a common prefix + bin/ will have runtime dependencies correctly.

@komalbharadiya
Copy link

Hey @markand , I am Komal from Pune, India. I'm studying 4th year of engineering. I really want to work on this issue. But since, I am totally novice to open source, could you help me? How do I go about this issue?

@pdimov
Copy link
Member

pdimov commented Dec 19, 2018

@swatanabe What do you think about this one? I noticed that under Cygwin the DLLs are actually installed in the --bindir and did wonder briefly why we don't do this for "ordinary" Windows.

@swatanabe
Copy link
Contributor

swatanabe commented Dec 19, 2018 via email

@pdimov
Copy link
Member

pdimov commented Dec 19, 2018

I looked at the history, and Cygwin was changed in boostorg/build@fe12dc5 by @vprus, but it's not clear why Windows hasn't been. It definitely sounds like the right thing to do, while we're at it.

@markand
Copy link
Author

markand commented Dec 19, 2018

I'm not sure if this is a real breaking change. The .dll files are never implied in build process, only users are responsible of updating their PATH or copy .dll once packaging. Thus this is not a big deal IMHO.

@pdimov
Copy link
Member

pdimov commented Dec 19, 2018

We could in principle add --dlldir that defaults to --bindir so that there's a way to get the old behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants