diff mbox series

Fix license for compat.h

Message ID 20240430083113.3416712-1-stefano.babic@swupdate.org
State Accepted
Headers show
Series Fix license for compat.h | expand

Commit Message

Stefano Babic April 30, 2024, 8:31 a.m. UTC
compat.h is thought to solve compatibilities between different Lua
versions and OSes. It contains something for MUSL and FreeBSD and it has
no GPLv2 code. It is included when libswupdate is built, generating a
license issue that this patch fixes.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
Reported-by: Alexander Vickberg <wickbergster@gmail.com>
CC: Christian Storm <christian.storm@siemens.com>
---
 include/compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.34.1
diff mbox series

Patch

diff --git a/include/compat.h b/include/compat.h
index da7bc290..764176d2 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -2,7 +2,7 @@ 
  * Author: Christian Storm
  * Copyright (C) 2018, Siemens AG
  *
- * SPDX-License-Identifier:     GPL-2.0-only
+ * SPDX-License-Identifier:     LGPL-2.1-or-later
  */

 #pragma once