mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #622 from jin-eld/no-tox-sync-on-windows
Do not build tox_sync on win32
This commit is contained in:
commit
31b371e617
|
@ -587,6 +587,7 @@ AM_CONDITIONAL(BUILD_TESTS, test "x$BUILD_TESTS" = "xyes")
|
|||
AM_CONDITIONAL(BUILD_NTOX, test "x$BUILD_NTOX" = "xyes")
|
||||
AM_CONDITIONAL(BUILD_AV, test "x$BUILD_AV" = "xyes")
|
||||
AM_CONDITIONAL(BUILD_TESTING, test "x$BUILD_TESTING" = "xyes")
|
||||
AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes")
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
build/Makefile
|
||||
|
|
|
@ -25,8 +25,7 @@ noinst_PROGRAMS += DHT_test \
|
|||
Lossless_UDP_testclient \
|
||||
Lossless_UDP_testserver \
|
||||
Messenger_test \
|
||||
crypto_speed_test \
|
||||
tox_sync
|
||||
crypto_speed_test
|
||||
|
||||
DHT_test_SOURCES = ../testing/DHT_test.c
|
||||
|
||||
|
@ -102,20 +101,22 @@ crypto_speed_test_LDADD = \
|
|||
$(NACL_LIBS) \
|
||||
$(WINSOCK2_LIBS)
|
||||
|
||||
tox_sync_SOURCES = \
|
||||
../testing/tox_sync.c
|
||||
if !WIN32
|
||||
|
||||
tox_sync_CFLAGS = \
|
||||
$(LIBSODIUM_CFLAGS) \
|
||||
noinst_PROGRAMS += tox_sync
|
||||
|
||||
tox_sync_SOURCES = ../testing/tox_sync.c
|
||||
|
||||
tox_sync_CFLAGS = $(LIBSODIUM_CFLAGS) \
|
||||
$(NACL_CFLAGS)
|
||||
|
||||
tox_sync_LDADD = \
|
||||
$(LIBSODIUM_LDFLAGS) \
|
||||
tox_sync_LDADD = $(LIBSODIUM_LDFLAGS) \
|
||||
$(NACL_LDFLAGS) \
|
||||
libtoxcore.la \
|
||||
$(LIBSODIUM_LIBS) \
|
||||
$(NACL_LIBS) \
|
||||
$(WINSOCK2_LIBS)
|
||||
endif
|
||||
|
||||
EXTRA_DIST += $(top_srcdir)/testing/misc_tools.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user