Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deskutils/nextcloudclient: Fix build failure when tests are enabled
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
1 parent
c8c0edf
commit 027ed04
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
deskutils/nextcloudclient/files/patch-test_nextcloud__add__test.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
) |