Skip to content

Commit

Permalink
deskutils/nextcloudclient: Fix build failure when tests are enabled
Browse files Browse the repository at this point in the history
Upstream build system tries to include a Linux only library in the
build when tests are enabled.

This patch has already been accepted upstream.

PR:			258119
Approved by:		Maintiner timeout
Obtained from:		nextcloud/desktop#3880
  • Loading branch information
madpilot78 committed Oct 29, 2021
1 parent c8c0edf commit 027ed04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion deskutils/nextcloudclient/Makefile
Expand Up @@ -29,7 +29,6 @@ CMAKE_ARGS= -DBUILD_UPDATER:BOOL=OFF \
-DWITH_STACK_PROTECTOR:BOOL=OFF
USE_LDCONFIG= yes

DEBUG= yes
USE_GITHUB= yes
GH_ACCOUNT= nextcloud
GH_PROJECT= desktop
Expand Down
@@ -0,0 +1,11 @@
--- test/nextcloud_add_test.cmake.orig 2021-09-30 11:13:39 UTC
+++ test/nextcloud_add_test.cmake
@@ -23,7 +23,7 @@ macro(nextcloud_add_test test_class)
)
endif()

- if (UNIX)
+ if (LINUX)
target_link_libraries(${OWNCLOUD_TEST_CLASS}Test
"${synclib_NAME}_vfs_xattr"
)

0 comments on commit 027ed04

Please sign in to comment.