mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oliver.Graute@neuhaus.de
To: ptxdist@pengutronix.de
Subject: [ptxdist] Antwort: mod_deflate compression module needs LD_FLAGS="-lz" for	apr
Date: Thu, 26 Mar 2015 10:08:27 +0100	[thread overview]
Message-ID: <OF8C6EADF3.DCC223FF-ONC1257E14.00321ABD-C1257E14.0032368C@neuhaus.de> (raw)
In-Reply-To: <OF980D2A8C.F24C4F05-ONC1257E13.004C4C6A-C1257E13.004D2E07@neuhaus.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 777 bytes --]



> 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

[-- Attachment #1.1.2: Type: text/html, Size: 3567 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2015-03-26  9:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25 14:03 [ptxdist] " Oliver.Graute
2015-03-26  9:08 ` Oliver.Graute [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF8C6EADF3.DCC223FF-ONC1257E14.00321ABD-C1257E14.0032368C@neuhaus.de \
    --to=oliver.graute@neuhaus.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox