Merge pull request #3221 from BOINC/pr_3179_freebsd2

FreeBSD: Add a check in configure.ac and in lib/Makefile.am link to
This commit is contained in:
Kevin Reed 2019-09-03 16:33:06 -05:00 committed by GitHub
commit 605beb3ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1044,6 +1044,7 @@ if echo $host_os | grep '^darwin' >/dev/null ; then
fi
AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep '^freebsd' > /dev/null])
dnl In case anyone wants to try building the windows code using mingw!
AM_CONDITIONAL(OS_WIN32, [echo $host_os | egrep '^mingw|^winnt' > /dev/null])
AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null])

View File

@ -185,6 +185,9 @@ libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources)
libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_la_CXXFLAGS = $(AM_CXXFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
libboinc_la_LDFLAGS = -static -version-number $(LIBBOINC_VERSION)
if OS_FREEBSD
libboinc_la_LDFLAGS += -lexecinfo
endif
libboinc_la_LIBADD =
if ENABLE_BOINCCRYPT