792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
diff --git a/ruby/GNUmakefile b/ruby/GNUmakefile
|
|
index e85a51701..7fca89e0f 100644
|
|
--- a/ruby/GNUmakefile
|
|
+++ b/ruby/GNUmakefile
|
|
@@ -8,19 +8,9 @@ ifeq ($(ruby),)
|
|
ruby += audio.openal
|
|
ruby += input.quartz #input.carbon
|
|
else ifeq ($(platform),linux)
|
|
- pkg_check1 = $(if $(shell test -e /usr/lib/lib$1.so && echo 1),$2)
|
|
- pkg_check2 = $(if $(shell test -e /usr/lib/$(shell uname -m)-linux-gnu/lib$1.so && echo 1),$2)
|
|
- pkg_check = $(call pkg_check1,$1,$2) $(call pkg_check2,$1,$2)
|
|
- ruby += video.glx video.glx2 video.xshm
|
|
- ruby += $(call pkg_check,Xv,video.xvideo)
|
|
- ruby += audio.oss audio.alsa
|
|
- ruby += $(call pkg_check,openal,audio.openal)
|
|
- ruby += $(call pkg_check,pulse,audio.pulseaudio)
|
|
- ruby += $(call pkg_check,pulse-simple,audio.pulseaudiosimple)
|
|
- ruby += $(call pkg_check,ao,audio.ao)
|
|
- ruby += input.xlib
|
|
- ruby += $(call pkg_check,udev,input.udev)
|
|
- ruby += $(call pkg_check,SDL2,input.sdl)
|
|
+ ruby += video.glx video.glx2 video.xshm video.xvideo
|
|
+ ruby += audio.oss audio.alsa audio.openal audio.pulseaudio audio.pulseaudiosimple audio.ao
|
|
+ ruby += input.xlib input.udev input.sdl
|
|
else ifeq ($(platform),bsd)
|
|
pkg_check = $(if $(shell test -e /usr/local/lib/lib$1.so && echo 1),$2)
|
|
ruby += video.glx video.glx2 video.xshm
|