mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 08:13:27 +01:00
Add freebsd flags for ncursesw
This commit is contained in:
parent
16a82e1897
commit
612c0e1131
@ -23,6 +23,7 @@ Toxic is a [Tox](https://tox.im)-based instant messenging client which formerly
|
||||
* You can add specific flags to the Makefile with `USER_CFLAGS=""` and/or `USER_LDFLAGS=""`
|
||||
* You can pass your own flags to the Makefile with `CFLAGS=""` and/or `LDFLAGS=""` (this will supersede the default ones)
|
||||
* Audio call support is automatically enabled if all dependencies are found
|
||||
* If you want to build toxic without audio call support, you can use `make DISABLE_AV=1`
|
||||
|
||||
### Packaging
|
||||
* For packaging purpose, you can use `DESTDIR=""` to specify a directory where to store installed files
|
||||
|
@ -35,6 +35,9 @@ UNAME_S = $(shell uname -s)
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
-include $(CFG_DIR)/Linux.mk
|
||||
endif
|
||||
ifeq ($(UNAME_S), FreeBSD)
|
||||
-include $(CFG_DIR)/FreeBSD.mk
|
||||
endif
|
||||
ifeq ($(UNAME_S), Darwin)
|
||||
-include $(CFG_DIR)/Darwin.mk
|
||||
endif
|
||||
|
3
cfg/FreeBSD.mk
Normal file
3
cfg/FreeBSD.mk
Normal file
@ -0,0 +1,3 @@
|
||||
# Specials options for freebsd systems
|
||||
LIBS := $(filter-out ncursesw, $(LIBS))
|
||||
LDFLAGS += -lncursesw
|
Loading…
Reference in New Issue
Block a user