Package: gauche / 0.9.6-10

30_link_pthread.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Add missing -lpthread
Author: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2018-10-03

Index: gauche/ext/tls/Makefile.in
===================================================================
--- gauche.orig/ext/tls/Makefile.in
+++ gauche/ext/tls/Makefile.in
@@ -83,7 +83,7 @@ $(AXTLS_OBJECTS): $(EXTRA_DIRS_TARGET)
 
 # We build the test executable (ssltest) at the build time
 $(SSLTEST): $(SSLTEST_OBJECTS) $(AXTLS_OBJECTS)
-	$(CCLD) $(LOCAL_LFLAGS) $(XLDFLAGS) -o $(SSLTEST) $(SSLTEST_OBJECTS) $(AXTLS_OBJECTS) $(LIBS)
+	$(CCLD) $(LOCAL_LFLAGS) $(XLDFLAGS) -o $(SSLTEST) $(SSLTEST_OBJECTS) $(AXTLS_OBJECTS) $(LIBS) -lpthread
 
 # The 'system' macro hack is to suppress "ignoring result" warning
 $(SSLTEST_GENERATED) : axTLS/ssl/test/ssltest.c ssltest-mod.scm axtls_dirs