zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Can be a module linked to library to which Zsh isn't linked?
Date: Sat, 3 Oct 2015 11:55:20 -0700	[thread overview]
Message-ID: <151003115520.ZM4622@torch.brasslantern.com> (raw)
In-Reply-To: <CAKc7PVDefmDGLHrkBmLQJ2_DMY_K3LEjte99mbyk5V1As5fXDg@mail.gmail.com>

On Oct 3,  4:24pm, Sebastian Gniazdowski wrote:
} Subject: Can be a module linked to library to which Zsh isn't linked?
}
} Curses is linked to a library that zsh isn't and this is working fine
} - zsh starts, module loads. Could it be that "one LIBS" isn't in fact
} required?

I think this is dependent on compiler/linker/loader version and flags,
e.g., it might work with dynamic linkage but not static (symbol name
clashes), or might work with newer linkers but not older ones.

} Modules gdbm and pcre aren't built by default and they make
} zsh binary linked to libgdbm, libpcre. I thought that's why they
} aren't build by default - because they add dependencies to zsh binary

It's because they add *licensing* dependencies, IIRC, not because they
add shared-object dependencies.


  reply	other threads:[~2015-10-03 18:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03 14:24 Sebastian Gniazdowski
2015-10-03 18:55 ` Bart Schaefer [this message]
2015-10-04 16:49   ` Sebastian Gniazdowski
2015-10-04 20:53     ` Bart Schaefer
2015-10-04 23:49       ` Mikael Magnusson
2015-10-05  8:44       ` Peter Stephenson

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=151003115520.ZM4622@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).