Skip to content

Commit

Permalink
set sharedlib extension to dll whenever _WIN32, not only _MSC_VER, see
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Jan 25, 2023
1 parent 5de3177 commit 5e97a69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ More detailed information about incremental changes can be found in the
### 3.14.11 (20xx-yy-zz)

- Added `IpoptData::TimingStats() const` [#611]
- Assume DLL library extension in linear solver library loader on Windows
also when building with other compiler than MSVC/Intel [#628].

### 3.14.10 (2022-10-11)

Expand Down
2 changes: 1 addition & 1 deletion src/Common/IpLibraryLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "IpReferenced.hpp"
#include "IpException.hpp"

#ifdef _MSC_VER
#ifdef _WIN32
# define IPOPT_SHAREDLIBEXT "dll"
#elif defined(__APPLE__)
# define IPOPT_SHAREDLIBEXT "dylib"
Expand Down

0 comments on commit 5e97a69

Please sign in to comment.