Skip to content

Commit

Permalink
build: depend on epoll-shim on non-Linux after 528eb7e
Browse files Browse the repository at this point in the history
ld: error: undefined symbol: epoll_ctl
>>> referenced by steamcompmgr.cpp
>>>               src/gamescope.p/steamcompmgr.cpp.o:(update_wayland_res(CommitDoneList_t*, steamcompmgr_win_t*, ResListEntry_t&))
>>> referenced by steamcompmgr.cpp
>>>               src/gamescope.p/steamcompmgr.cpp.o:(commit_t::OnPollIn())
>>> referenced by steamcompmgr.cpp
>>>               src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CWaiter<1024ul>::CWaiter())

ld: error: undefined symbol: epoll_create1
>>> referenced by steamcompmgr.cpp
>>>               src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CWaiter<1024ul>::CWaiter())

ld: error: undefined symbol: epoll_wait
>>> referenced by steamcompmgr.cpp
>>>               src/gamescope.p/steamcompmgr.cpp.o:(gamescope::CAsyncWaiter<1024ul>::WaiterThreadFunc(char const*))
  • Loading branch information
jbeich authored and emersion committed Nov 22, 2023
1 parent e384c4e commit d1b7efd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ wayland_protos = dependency('wayland-protocols', version: '>=1.17')
xkbcommon = dependency('xkbcommon')
thread_dep = dependency('threads')
cap_dep = dependency('libcap', required: false)
epoll_dep = dependency('epoll-shim', required: false)
glm_dep = dependency('glm')
sdl_dep = dependency('SDL2')
stb_dep = dependency('stb')
Expand Down Expand Up @@ -132,7 +133,7 @@ endif
dep_wayland, dep_x11, dep_xdamage, dep_xcomposite, dep_xrender, dep_xext, dep_xfixes,
dep_xxf86vm, dep_xres, glm_dep, drm_dep, wayland_server,
xkbcommon, thread_dep, sdl_dep, wlroots_dep,
vulkan_dep, liftoff_dep, dep_xtst, dep_xmu, cap_dep, pipewire_dep, librt_dep,
vulkan_dep, liftoff_dep, dep_xtst, dep_xmu, cap_dep, epoll_dep, pipewire_dep, librt_dep,
stb_dep, displayinfo_dep, openvr_dep,
],
install: true,
Expand Down

0 comments on commit d1b7efd

Please sign in to comment.