Fix epoll-shim include dir (#4344)

when reported by pkginfo, the epoll-shim include is not part of it
pull/4345/head
Jérôme Leclercq 8 months ago committed by GitHub
parent ad28fa29b6
commit d3aced0ce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/e/epoll-shim/xmake.lua

@ -10,9 +10,8 @@ package("epoll-shim")
add_deps("cmake")
add_includedirs("include", "include/libepoll-shim")
on_install("bsd", "macosx", function (package)
io.replace("CMakeLists.txt", [[set(CMAKE_INSTALL_INCLUDEDIR "${CMAKE_INSTALL_INCLUDEDIR}/libepoll-shim")]], "", {plain = true})
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))

Loading…
Cancel
Save