defs.mk: Fix btools compilation

- Fix btools rpm dependencies
  - Fix btools cflags
This commit is contained in:
Jan Lindemann 2007-08-21 20:36:12 +00:00 committed by Jan Lindemann
commit 1e4af4f9d4

View file

@ -576,11 +576,11 @@ endif
ifeq ($(USE_BTOOLS),true) ifeq ($(USE_BTOOLS),true)
BTOOLS_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/btools /opt/btools)) BTOOLS_DIR = $(firstword $(wildcard $(CVS_PROJ_DIR)/btools /opt/btools))
BTOOLS_VERSION = $(call cat_version,$(BTOOLS_DIR)) BTOOLS_VERSION = $(call cat_version,$(BTOOLS_DIR))
RPM_REQUIRES_RUN += btools-run >= $(BTOOLS_VERSION) RPM_REQUIRES_RUN += dspider-btools-run >= $(BTOOLS_VERSION)
RPM_REQUIRES_DEVEL += btools-devel >= $(BTOOLS_VERSION) RPM_REQUIRES_DEVEL += dspider-btools-devel >= $(BTOOLS_VERSION)
USE_YTOOLS = true USE_YTOOLS = true
INCLUDE += -I$(XCHANGE_DIR)/include INCLUDE += -I$(BTOOLS_DIR)/include
LIBFLAGS += -L$(XCHANGE_DIR)/lib -ldspider-btools LIBFLAGS += -L$(BTOOLS_DIR)/lib -ldspider-btools
endif endif
ifeq ($(USE_CCONSOLE),true) ifeq ($(USE_CCONSOLE),true)