ZMusic: fix cross build

This commit is contained in:
Nathan Owens 2020-12-31 09:20:46 -06:00 committed by Érico Nogueira Rolim
parent 9e03b34683
commit 9473cbb447
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From b430f543c850acfb98751bfcf5343afb397cf049 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 31 Dec 2020 09:18:14 -0600
Subject: [PATCH] fix cross
---
CMakeLists.txt | 5 -----
1 file changed, 5 deletions(-)
diff --git CMakeLists.txt CMakeLists.txt
index 5f4cb14..28e622b 100644
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -24,11 +24,6 @@ if( FORCE_CROSSCOMPILE )
set( CMAKE_CROSSCOMPILING TRUE )
endif()
-if(CMAKE_CROSSCOMPILING)
- set(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Export file from native build.")
- include(${IMPORT_EXECUTABLES})
-endif()
-
# Macro for building libraries without debugging information
macro( make_release_only )
--
2.30.0

View File

@ -14,7 +14,6 @@ license="GPL-3.0-or-later"
homepage="https://github.com/coelckers/ZMusic"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=5f432b022e023175eae7701625f79287e9ffe889a444179681381026b4fb93bf
nocross=yes
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" musl-fts-devel"