Link Here
|
1 |
--- src/compile.lsp.in.orig 2016-12-19 10:25:00 UTC |
1 |
--- src/compile.lsp.in.orig 2023-09-08 16:55:48 UTC |
2 |
+++ src/compile.lsp.in |
2 |
+++ src/compile.lsp.in |
3 |
@@ -142,8 +142,9 @@ |
3 |
@@ -88,7 +88,7 @@ |
4 |
#+:wants-dlopen |
4 |
c::*ecl-library-directory* "@true_builddir@/") |
5 |
;;; |
5 |
(setf c::*ld-flags* "@LDFLAGS@") |
6 |
;;; We do not need the -rpath flag for the library, nor -lecl. |
6 |
#-:wants-dlopen |
7 |
+;;; Patch borrowed from SageMath |
7 |
-(setf c::*ld-libs* "@LIBPREFIX@ecl.@LIBEXT@ @CORE_LIBS@ @FASL_LIBS@ @LIBS@") |
8 |
;;; |
8 |
+(setf c::*ld-libs* "@IMPLIB_LDFLAGS@ @LIBPREFIX@ecl.@LIBEXT@ @CORE_LIBS@ @FASL_LIBS@ @LIBS@") |
9 |
-(let* ((c::*ld-shared-flags* #-msvc "@SHARED_LDFLAGS@ @LDFLAGS@ @SONAME_LDFLAGS@ @CORE_LIBS@ @FASL_LIBS@ @LIBS@" |
9 |
#+(and :wants-dlopen (not nonstop)) |
10 |
+(let* ((c::*ld-shared-flags* #-msvc " @IMPLIB_LDFLAGS@ @SHARED_LDFLAGS@ @LDFLAGS@ @SONAME_LDFLAGS@ @CORE_LIBS@ @FASL_LIBS@ @LIBS@" |
10 |
(setf c::*ld-libs* |
11 |
#+msvc "@SHARED_LDFLAGS@ @LDFLAGS@ @STATICLIBS@ @CLIBS@") |
11 |
"@SHAREDPREFIX@ecl.@SHAREDEXT@ @LIBS@" |
12 |
(c::*cc-flags* (concatenate 'string "-DECL_API -I@true_builddir@/c " c::*cc-flags*)) |
|
|
13 |
(extra-args nil)) |