kopia lustrzana https://github.com/Hamlib/Hamlib
Link to Pthread-win32 library in MinGW
The AX_PTHREAD macro sets the PTHREAD_LIBS variable, however we were not providing this variable to the needed *_LDFLAGS variable. With the addition of PTHREAD_LIBS, rigctld and rotctld are now multi-threaded on MS Windows. Tested on Windows 2000, Windows XP, and Windows 7.Hamlib-3.0
rodzic
ab9f942b17
commit
2d6361397b
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = hamlib-ars.la
|
pkglib_LTLIBRARIES = hamlib-ars.la
|
||||||
hamlib_ars_la_SOURCES = ars.c
|
hamlib_ars_la_SOURCES = ars.c
|
||||||
hamlib_ars_la_LDFLAGS = -no-undefined -module -avoid-version
|
hamlib_ars_la_LDFLAGS = -no-undefined -module -avoid-version $(PTHREAD_LIBS)
|
||||||
hamlib_ars_la_LIBADD = $(top_builddir)/lib/libmisc.la \
|
hamlib_ars_la_LIBADD = $(top_builddir)/lib/libmisc.la \
|
||||||
$(top_builddir)/src/libhamlib.la
|
$(top_builddir)/src/libhamlib.la
|
||||||
|
|
||||||
|
|
|
@ -36,13 +36,13 @@ dumpmem_LDFLAGS = @BACKENDLNK@
|
||||||
testrig_LDFLAGS = @BACKENDLNK@
|
testrig_LDFLAGS = @BACKENDLNK@
|
||||||
rig_bench_LDFLAGS = $(top_builddir)/lib/libmisc.la @BACKENDLNK@
|
rig_bench_LDFLAGS = $(top_builddir)/lib/libmisc.la @BACKENDLNK@
|
||||||
testtrn_LDFLAGS = @BACKENDLNK@
|
testtrn_LDFLAGS = @BACKENDLNK@
|
||||||
rigctl_LDFLAGS = @BACKENDLNK@ @WINEXELDFLAGS@
|
rigctl_LDFLAGS = @BACKENDLNK@ $(PTHREAD_LIBS) @WINEXELDFLAGS@
|
||||||
rigswr_LDFLAGS = @BACKENDLNK@ @WINEXELDFLAGS@
|
rigswr_LDFLAGS = @BACKENDLNK@ @WINEXELDFLAGS@
|
||||||
rigsmtr_LDFLAGS = @BACKENDLNK@ @WINEXELDFLAGS@
|
rigsmtr_LDFLAGS = @BACKENDLNK@ @WINEXELDFLAGS@
|
||||||
rigmem_LDFLAGS = @BACKENDLNK@ @LIBXML2_LIBS@ @WINEXELDFLAGS@
|
rigmem_LDFLAGS = @BACKENDLNK@ @LIBXML2_LIBS@ @WINEXELDFLAGS@
|
||||||
rotctl_LDFLAGS = @ROT_BACKENDLNK@ @WINEXELDFLAGS@
|
rotctl_LDFLAGS = @ROT_BACKENDLNK@ $(PTHREAD_LIBS) @WINEXELDFLAGS@
|
||||||
rigctld_LDFLAGS = @BACKENDLNK@ @PTHREAD_LIBS@ @NET_LIBS@ @WINEXELDFLAGS@
|
rigctld_LDFLAGS = @BACKENDLNK@ $(PTHREAD_LIBS) @NET_LIBS@ @WINEXELDFLAGS@
|
||||||
rotctld_LDFLAGS = @ROT_BACKENDLNK@ @PTHREAD_LIBS@ @NET_LIBS@ @WINEXELDFLAGS@
|
rotctld_LDFLAGS = @ROT_BACKENDLNK@ $(PTHREAD_LIBS) @NET_LIBS@ @WINEXELDFLAGS@
|
||||||
|
|
||||||
# temporary hack
|
# temporary hack
|
||||||
testbcd_LDFLAGS = -dlpreopen self
|
testbcd_LDFLAGS = -dlpreopen self
|
||||||
|
|
Ładowanie…
Reference in New Issue