Skip to content

Commit

Permalink
check wasm for defined(__UBUNTU__)
Browse files Browse the repository at this point in the history
  • Loading branch information
luadebug committed Jan 3, 2025
1 parent 65105aa commit 3748064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/l/libmysofa/patches/v1.3.2/fix-build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ index d1e76f5..5fb4b55 100644
#endif

-#if defined(__linux__) || defined(__CYGWIN__)
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__illumos__) || defined(__GNU__) || defined(__linux) || defined(linux) || defined(__gnu_linux__)
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__illumos__) || defined(__GNU__) || defined(__linux) || defined(linux) || defined(__gnu_linux__) || defined(__UBUNTU__)

# include <endian.h>

Expand Down
2 changes: 1 addition & 1 deletion packages/l/libmysofa/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package("libmysofa")

add_versions("v1.3.2", "6c5224562895977e87698a64cb7031361803d136057bba35ed4979b69ab4ba76")

add_patches("v1.3.2", "patches/v1.3.2/fix-build.patch", "a28aed4c5e766081ff90a7aed74c58b77927432a80385f6aad9f3278cde6bb59")
add_patches("v1.3.2", "patches/v1.3.2/fix-build.patch", "890ba9fdbba755499eae72e8f8e3f0dabd39eaa4edc4330c61c4b15efa0e30a1")

add_deps("cmake", "zlib")

Expand Down

0 comments on commit 3748064

Please sign in to comment.