> others solved this problem by adding
>
> LDFLAGS="-lz" in apr-1-config file in the apr source tree
>
> what is the right way to add that LDFLAGS setting in ptxdist rule file?
i simply solved it this way:
APACHE2_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--includedir=/usr/include/apache2 \
--enable-so \
+ --enable-deflate=shared \
--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
--with-apr-util=$(PTXDIST_SYSROOT_CROSS)/bin/apu-config \
--with-ssl=$(PTXDIST_SYSROOT_TARGET)/usr/lib/ssl \
--enable-ssl=shared \
+ LDFLAGS='-lz'
APR_CONF_TOOL := autoconf
APR_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--enable-threads \
+ LDFLAGS='-lz'
Best regards,
Oliver