mirror of
https://agent.ghink.cloud/wb2osz/direwolf
synced 2025-04-06 20:58:30 +00:00
Updates for Red Hat vs. Debian package names.
This commit is contained in:
parent
f6c0049e40
commit
c9734c2bf7
@ -260,14 +260,14 @@ endif
|
|||||||
alsa = 1
|
alsa = 1
|
||||||
|
|
||||||
ifeq ($(wildcard /usr/include/pthread.h),)
|
ifeq ($(wildcard /usr/include/pthread.h),)
|
||||||
$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install libc6-dev" )
|
$(error /usr/include/pthread.h does not exist. Install it with "sudo apt-get install libc6-dev" or "sudo yum install glibc-headers" )
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(alsa),)
|
ifneq ($(alsa),)
|
||||||
CFLAGS += -DUSE_ALSA
|
CFLAGS += -DUSE_ALSA
|
||||||
LDFLAGS += -lasound
|
LDFLAGS += -lasound
|
||||||
ifeq ($(wildcard /usr/include/alsa/asoundlib.h),)
|
ifeq ($(wildcard /usr/include/alsa/asoundlib.h),)
|
||||||
$(error /usr/include/alsa/asoundlib.h does not exist. Install it with "sudo apt-get install libasound2-dev" or "sudo yum install libasound2-dev" )
|
$(error /usr/include/alsa/asoundlib.h does not exist. Install it with "sudo apt-get install libasound2-dev" or "sudo yum install alsa-lib-devel" )
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ endif
|
|||||||
# don't want to install it, comment out the next 3 lines.
|
# don't want to install it, comment out the next 3 lines.
|
||||||
|
|
||||||
ifeq ($(wildcard /usr/include/libudev.h),)
|
ifeq ($(wildcard /usr/include/libudev.h),)
|
||||||
$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-dev" )
|
$(error /usr/include/libudev.h does not exist. Install it with "sudo apt-get install libudev-dev" or "sudo yum install libudev-devel" )
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user