seafile-aur/tools_Makefile.am.patch
Aaron Lindsay 1e4be7edd0 Update to seafile 1.8.1
This update adds a patch to link seaf-server-init against pthreads (and
regenerate all the automake stuff related to this change)
2013-08-20 17:30:33 -04:00

12 lines
454 B
Diff

--- a/tools/Makefile.am 2013-08-20 16:08:58.239195887 -0400
+++ b/tools/Makefile.am 2013-08-20 16:09:21.402115531 -0400
@@ -5,7 +5,7 @@
seaf_server_init_SOURCES = seaf-server-init.c ../common/seaf-db.c
-seaf_server_init_LDADD = @GLIB2_LIBS@ @ZDB_LIBS@
+seaf_server_init_LDADD = -lpthread @GLIB2_LIBS@ @ZDB_LIBS@
seaf_server_init_LDFLAGS = @STATIC_COMPILE@ @SERVER_PKG_RPATH@
seaf_server_init_CPPFLAGS = @GLIB2_CFLAGS@ @ZDB_CFLAGS@ @MSVC_CFLAGS@