+2007-07-19 Wolfgang Sourdeau <WSourdeau@Inverse.CA>
+
+ * GNUmakefile: include APR CFLAGS and LDFLAGS in compilation (fixes OGo
+ bug #1886)
+
2007-07-06 Marcus Mueller <znek@mulle-kybernetik.com>
* handler.c: fixed compilation for Apache 2.2.x. No heavy testing has
ifneq ($(APR),)
APR_INCLUDE_DIRS = -I$(shell $(APR) --includedir)
+APR_CFLAGS = $(shell $(APR) --cppflags)
+APR_LDFLAGS = $(shell $(APR) --ldflags --libs)
endif
GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)/Library/WOAdaptors/Apache
SHARED_LIBEXT = .so
CFLAGS = -Wall -I. -fPIC \
- $(APXS_CFLAGS) $(APXS_INCLUDE_DIRS) $(APR_INCLUDE_DIRS)
+ $(APXS_CFLAGS) $(APR_CFLAGS) \
+ $(APXS_INCLUDE_DIRS) $(APR_INCLUDE_DIRS)
-LDFLAGS = $(APXS_LDFLAGS) -shared -fPIC
+LDFLAGS = $(APXS_LDFLAGS) $(APR_LDFLAGS) -shared -fPIC
# adaptor