Changed order of libraries so that -lpthread appears after any kind of -lgc (detected or created by ECL).

This commit is contained in:
Juan Jose Garcia Ripoll 2009-06-01 15:29:37 +02:00
parent eed8ad4820
commit df52c01a30
2 changed files with 10 additions and 4 deletions

View file

@ -53,6 +53,12 @@ ECL 9.5:
- When building ECL's C preprocessor (dpp), the value of CPPFLAGS was
not used.
- A wrong order in the list of libraries (-lpthread -lgc) prevented ECL
from having multithread support in FreeBSD, OpenBSD and NetBSD.
- Removed a shell command from src/Makefile.in The command used braces {}
which FreeBSD does not understand.
;;; Local Variables: ***
;;; mode:text ***
;;; fill-column:79 ***

View file

@ -451,15 +451,15 @@ coprocessor).")
#+msvc "~A ~A ~:[~*~;~A~] -I\"~A\" -w -c \"~A\" -Fo\"~A\"")
#-dlopen
(defvar *ld-flags* "@LDFLAGS@ -lecl @CORE_LIBS@ @LIBS@ @FASL_LIBS@")
(defvar *ld-flags* "@LDFLAGS@ -lecl @CORE_LIBS@ @FASL_LIBS@ @LIBS@")
#+dlopen
(defvar *ld-flags* #-msvc "@LDFLAGS@ -lecl @LIBS@ @FASL_LIBS@"
(defvar *ld-flags* #-msvc "@LDFLAGS@ -lecl @FASL_LIBS@ @LIBS@"
#+msvc "@LDFLAGS@ ecl.lib @CLIBS@")
#+dlopen
(defvar *ld-shared-flags* #-msvc "@SHARED_LDFLAGS@ @LDFLAGS@ -lecl @LIBS@ @FASL_LIBS@"
(defvar *ld-shared-flags* #-msvc "@SHARED_LDFLAGS@ @LDFLAGS@ -lecl @FASL_LIBS@ @LIBS@"
#+msvc "@SHARED_LDFLAGS@ @LDFLAGS@ ecl.lib @CLIBS@")
#+dlopen
(defvar *ld-bundle-flags* #-msvc "@BUNDLE_LDFLAGS@ @LDFLAGS@ -lecl @LIBS@ @FASL_LIBS@"
(defvar *ld-bundle-flags* #-msvc "@BUNDLE_LDFLAGS@ @LDFLAGS@ -lecl @FASL_LIBS@ @LIBS@"
#+msvc "@BUNDLE_LDFLAGS@ @LDFLAGS@ ecl.lib @CLIBS@")
(defvar +shared-library-prefix+ "@SHAREDPREFIX@")