mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 758849 - UPower isn't linux-only, give it a chance to build on BSDs at least. Add a section taking them into account. r=mounir
This commit is contained in:
parent
7b9a678b28
commit
9a4bda6314
@ -87,6 +87,18 @@ CMMSRCS += \
|
||||
CocoaSensor.mm \
|
||||
smslib.mm \
|
||||
$(NULL)
|
||||
else ifneq (,$(filter OpenBSD NetBSD FreeBSD DragonFlyBSD,$(OS_TARGET)))
|
||||
CPPSRCS += \
|
||||
FallbackSensor.cpp \
|
||||
FallbackVibration.cpp \
|
||||
FallbackPower.cpp \
|
||||
FallbackScreenConfiguration.cpp \
|
||||
$(NULL)
|
||||
ifdef MOZ_ENABLE_DBUS
|
||||
CPPSRCS += UPowerClient.cpp
|
||||
else
|
||||
CPPSRCS += FallbackBattery.cpp
|
||||
endif
|
||||
else
|
||||
CPPSRCS += \
|
||||
FallbackBattery.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user