Browse Source

libyuv: fix default shared lib usage for android (#3100)

Co-authored-by: yangyunzhao <[email protected]>
yangyun0123456 1 year ago
parent
commit
195488879b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/l/libyuv/xmake.lua

+ 1 - 1
packages/l/libyuv/xmake.lua

@@ -16,7 +16,7 @@ package("libyuv")
         io.replace("CMakeLists.txt", "INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert			DESTINATION bin )", "", {plain = true})
         io.replace("CMakeLists.txt", "INSTALL ( PROGRAMS ${CMAKE_BINARY_DIR}/yuvconvert			DESTINATION bin )", "", {plain = true})
         import("package.tools.cmake").install(package, configs)
         import("package.tools.cmake").install(package, configs)
         
         
-        if package:is_plat("macosx", "linux") then
+        if package:is_plat("macosx", "linux", "android") then
             if package:config("shared") then 
             if package:config("shared") then 
                 os.tryrm(package:installdir("lib", "*.a"))
                 os.tryrm(package:installdir("lib", "*.a"))
             else 
             else