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

cannot build dll #85

Closed
svigerske opened this issue Mar 2, 2019 · 3 comments
Closed

cannot build dll #85

svigerske opened this issue Mar 2, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: xantares

Original creation time: 2014-09-03 09:33:54

MinGW cannot build dlls if the no-undefined flag is not there

I suggest this line gets added to CoinUtils/src/Makefile.am

libCoinUtils_la_LDFLAGS += -no-undefined
@svigerske svigerske added bug Something isn't working minor labels Mar 2, 2019
@svigerske
Copy link
Member Author

Comment by xantares created at 2014-09-03 09:34:35

(after the libCoinUtils_la_LDFLAGS=...)

@svigerske
Copy link
Member Author

Comment by @tkelman created at 2014-09-23 22:32:13

Hi xantares. You'll want --enable-dependency-linking for making MinGW DLL's. Are you making cross-compiled Arch pkgbuilds? You may find my spec files for cross-compiling on the opensuse build service a useful reference: https://build.opensuse.org/project/show/home:kelman:mingw-coinor

@svigerske
Copy link
Member Author

--enable-dependency-linking should be the default now.
Also a lot of changes to allow building DLLs are on the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant