mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Fix link parameters
This commit is contained in:
parent
3cf02e25bd
commit
633d972ec4
25
common.mk
25
common.mk
|
|
@ -2,26 +2,25 @@
|
|||
# Add -DDCS_LINK to the end of the CFLAGS line below to add DCS linking to StarNet
|
||||
# Add -DDEXTRA_LINK to the end of the CFLAGS line below to add DExtra linking to StarNet
|
||||
|
||||
ifeq ($(OPENWRT),1)
|
||||
DATADIR := "/etc/mmdvm/ircddbgateway"
|
||||
LOGDIR := "/var/log/mmdvm"
|
||||
CONFDIR := "/etc"
|
||||
BINDIR := "/usr/bin"
|
||||
|
||||
CFLAGS += -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
||||
LIBS += -lwxbase_u
|
||||
LIBS +=
|
||||
LDFLAGS :=
|
||||
|
||||
else
|
||||
DATADIR := "/usr/share/ircddbgateway"
|
||||
LOGDIR := "/var/log"
|
||||
CONFDIR := "/etc"
|
||||
BINDIR := "/usr/bin"
|
||||
# else
|
||||
# DATADIR := "/usr/share/ircddbgateway"
|
||||
# LOGDIR := "/var/log"
|
||||
# CONFDIR := "/etc"
|
||||
# BINDIR := "/usr/bin"
|
||||
|
||||
CXX := $(shell wx-config --cxx)
|
||||
CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
||||
GUILIBS := $(shell wx-config --libs adv,core,base)
|
||||
LIBS := $(shell wx-config --libs base)
|
||||
LDFLAGS :=
|
||||
# CXX := $(shell wx-config --cxx)
|
||||
# CFLAGS := -O2 -Wall $(shell wx-config --cxxflags) -DLOG_DIR='$(LOGDIR)' -DCONF_DIR='$(CONFDIR)' -DDATA_DIR='$(DATADIR)'
|
||||
# GUILIBS := $(shell wx-config --libs adv,core,base)
|
||||
# LIBS := $(shell wx-config --libs base)
|
||||
# LDFLAGS :=
|
||||
|
||||
endif
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue