mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 15:23:54 +01:00
defs.mk: Fix glib@mingw and CCONSOLE_DIR
- Fix glib CFLAGS for mingw - Fix CCONSOLE_DIR
This commit is contained in:
parent
406aed365d
commit
0d23c13cb8
1 changed files with 21 additions and 21 deletions
14
make/defs.mk
14
make/defs.mk
|
|
@ -619,13 +619,13 @@ LIBFLAGS += -L$(BTOOLS_DIR)/lib -ldspider-btools
|
|||
endif
|
||||
|
||||
ifeq ($(USE_CCONSOLE),true)
|
||||
CCONSOLE_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/cconsole /opt/dspider/cconsole))
|
||||
CCONSOLE_VERSION = $(call cat_version,$(CCONSOLE_DIR))
|
||||
RPM_REQUIRES_RUN += cconsole-run >= $(CCONSOLE_VERSION)
|
||||
RPM_REQUIRES_DEVEL += cconsole-devel >= $(CCONSOLE_VERSION)
|
||||
CCONSOLE_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/dspc/src/cconsole /opt/dspider/cconsole))
|
||||
#CCONSOLE_VERSION = $(call cat_version,$(CCONSOLE_DIR))
|
||||
#RPM_REQUIRES_RUN += cconsole-run >= $(CCONSOLE_VERSION)
|
||||
#RPM_REQUIRES_DEVEL += cconsole-devel >= $(CCONSOLE_VERSION)
|
||||
USE_YTOOLS = true
|
||||
INCLUDE += -I$(CCONSOLE_DIR)/include
|
||||
LIBFLAGS += -L$(CCONSOLE_DIR)/lib -lcconsole
|
||||
#LIBFLAGS += -L$(CCONSOLE_DIR)/lib -lcconsole
|
||||
endif
|
||||
|
||||
ifeq ($(USE_JACKJART),true)
|
||||
|
|
@ -712,15 +712,15 @@ ifeq ($(USE_GLIB),true)
|
|||
PROJECT_CFLAGS += $(shell PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig pkg-config --cflags glib-2.0)
|
||||
PROJECT_CPPFLAGS += $(shell PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig pkg-config --cflags glib-2.0)
|
||||
LIBFLAGS += $(shell PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig pkg-config --libs glib-2.0)
|
||||
else
|
||||
endif
|
||||
ifeq ($(ARCH),x86_64)
|
||||
PROJECT_CFLAGS += $(shell export PKG_CONFIG_PATH=/opt/gnome/lib64/pkgconfig; pkg-config --cflags glib-2.0)
|
||||
PROJECT_CPPFLAGS += $(shell export PKG_CONFIG_PATH=/opt/gnome/lib64/pkgconfig; pkg-config --cflags glib-2.0)
|
||||
LIBFLAGS += $(shell export PKG_CONFIG_PATH=/opt/gnome/lib64/pkgconfig; pkg-config --libs glib-2.0)
|
||||
endif
|
||||
endif
|
||||
LIBFLAGS += -ldl -lpthread
|
||||
else
|
||||
INCLUDE += -I$(CROSS_TOOL_DIR)/include/glib-2.0 -I$(CROSS_TOOL_DIR)/lib/glib-2.0/include
|
||||
LIBFLAGS += -lglib-2.0
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue