Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix build on macosx.
* dynamic libraries were not actually generated due to wrong compilation option (linker option -dylib passed instead of compiler -shared one).
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/LCG-DM-1.8.0/config/darwin.cf b/LCG-DM-1.8.0/config/darwin.cf | ||
index ab0bf06..8cf4e0b 100644 | ||
--- a/LCG-DM-1.8.0/config/darwin.cf | ||
+++ b/LCG-DM-1.8.0/config/darwin.cf | ||
@@ -12,8 +12,8 @@ GSOAP_PLATFORM = macosx | ||
MTCCFLAGS = -DCTHREAD_POSIX -D_THREAD_SAFE -D_REENTRANT | ||
MTLDLIBS = | ||
MTLDFLAGS = | ||
-SHLIBLDFLAGS = -undefined dynamic_lookup -dylib -single_module | ||
-SHLIBREQLIBS = -lc /usr/lib/dylib1.o | ||
+SHLIBLDFLAGS = -undefined dynamic_lookup -shared | ||
+SHLIBREQLIBS = -lc | ||
FC = gfortran | ||
|
||
#include <darwin.rules> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters