Since support for GNU pth was removed, it can be assumed that the multithreading
library comes from the system, therefore no -rpath processing is required, and
therefore
$(LTLIBTHREAD) = $(LIBTHREAD)
and
$(LTLIBMULTITHREAD) = $(LIBMULTITHREAD).
2019-12-02 Bruno Haible <[email protected]>
Simplify link sections.
* modules/threadlib (Link): Stop mentioning LTLIBTHREAD.
* modules/lock (Link): Likewise.
* modules/cond (Link): Likewise.
* modules/tls (Link): Likewise.
* modules/yield (Link): Likewise.
* modules/regex (Link): Likewise.
* modules/localename (Link): Likewise.
* modules/unicase/locale-language (Link): Likewise.
* modules/thread (Link): Stop mentioning LTLIBMULTITHREAD.
diff --git a/modules/cond b/modules/cond
index 5dc0e40..43b2bd6 100644
--- a/modules/cond
+++ b/modules/cond
@@ -25,7 +25,7 @@ Include:
"glthread/cond.h"
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv2+
diff --git a/modules/localename b/modules/localename
index 1813d28..9eed220 100644
--- a/modules/localename
+++ b/modules/localename
@@ -31,7 +31,7 @@ Include:
Link:
@INTL_MACOSX_LIBS@
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv2+
diff --git a/modules/lock b/modules/lock
index 4b390ba..c9d60d6 100644
--- a/modules/lock
+++ b/modules/lock
@@ -26,7 +26,7 @@ Include:
"glthread/lock.h"
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv2+
diff --git a/modules/regex b/modules/regex
index dbfd379..42c9344 100644
--- a/modules/regex
+++ b/modules/regex
@@ -49,7 +49,7 @@ Include:
<regex.h>
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
License:
diff --git a/modules/thread b/modules/thread
index baa8887..1d530b0 100644
--- a/modules/thread
+++ b/modules/thread
@@ -23,7 +23,7 @@ Include:
"glthread/thread.h"
Link:
-$(LTLIBMULTITHREAD) when linking with libtool, $(LIBMULTITHREAD) otherwise
+$(LIBMULTITHREAD)
License:
LGPLv2+
diff --git a/modules/threadlib b/modules/threadlib
index 240406d..f4fba84 100644
--- a/modules/threadlib
+++ b/modules/threadlib
@@ -20,7 +20,7 @@ lib_SOURCES += glthread/threadlib.c
Include:
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv2+
diff --git a/modules/tls b/modules/tls
index f4a5256..96192cc 100644
--- a/modules/tls
+++ b/modules/tls
@@ -20,7 +20,7 @@ Include:
"glthread/tls.h"
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv2+
diff --git a/modules/unicase/locale-language b/modules/unicase/locale-language
index d2e06f2..0ca9c29 100644
--- a/modules/unicase/locale-language
+++ b/modules/unicase/locale-language
@@ -31,7 +31,7 @@ Include:
Link:
@INTL_MACOSX_LIBS@
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
License:
LGPLv3+ or GPLv2
diff --git a/modules/yield b/modules/yield
index 71e00ea..5ca8620 100644
--- a/modules/yield
+++ b/modules/yield
@@ -18,7 +18,7 @@ Include:
"glthread/yield.h"
Link:
-$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
+$(LIBTHREAD)
$(YIELD_LIB)
License: