mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
From 70a5e9e2e12d0a7225c26f272765c0ba8e2bc2aa Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
|
Date: Mon, 29 Nov 2021 18:26:02 +0100
|
|
Subject: Build fix
|
|
|
|
|
|
diff --git a/include/portable-endian.h b/include/portable-endian.h
|
|
index 0d2f180..68a863b 100644
|
|
--- a/include/portable-endian.h
|
|
+++ b/include/portable-endian.h
|
|
@@ -65,7 +65,7 @@
|
|
# define htole64(x) (x)
|
|
# define le64toh(x) (x)
|
|
|
|
-#elif defined(__linux__) || defined(__CYGWIN__)
|
|
+#elif defined(__linux__) || defined(__CYGWIN__) || defined(__HAIKU__)
|
|
|
|
# include <endian.h>
|
|
|
|
--
|
|
2.30.2
|
|
|
|
|
|
From 8be829cd60ae1ffc7020ac935e4bd97077af9509 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sun, 5 Dec 2021 12:54:59 +0000
|
|
Subject: Fix install path
|
|
|
|
|
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index abc9b59..9023d6e 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -62,5 +62,5 @@ endif()
|
|
|
|
install(TARGETS smb2 EXPORT smb2
|
|
RUNTIME DESTINATION bin
|
|
- ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
|
- LIBRARY DESTINATION lib${LIB_SUFFIX})
|
|
+ ARCHIVE DESTINATION ${INSTALL_LIB_DIR}
|
|
+ LIBRARY DESTINATION ${INSTALL_LIB_DIR})
|
|
--
|
|
2.30.2
|
|
|