From: Daniel J Walsh <dwalsh@redhat.com>
To: Laurent Bigonville <bigon@debian.org>
Cc: selinux@tycho.nsa.gov
Subject: Re: [PATCH 3/4] libsemanage -- Do not link against libpython, this is considered bad in Debian
Date: Tue, 27 Mar 2012 10:24:19 -0400 [thread overview]
Message-ID: <4F71CD93.5070108@redhat.com> (raw)
In-Reply-To: <20120326160452.1d129dc4@eldamar.bigon.be>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/26/2012 10:04 AM, Laurent Bigonville wrote:
> Hi,
>
> Do not link against libpython, the interpreter is already linked to
> it. In Debian this is usually considered bad practice.
>
> Laurent
>
> Description: Do not link against libpython, this is considered bad
> practice in Debian Author: Laurent Bigonville <bigon@debian.org>
> Date: Wed, 07 Mar 2012 14:21:48 +0100
>
> --- a/libsemanage/src/Makefile +++ b/libsemanage/src/Makefile @@
> -77,7 +77,7 @@ $(CC) $(filter-out -Werror, $(CFLAGS)) -I$(RUBYINC)
> -fPIC -DSHARED -c -o $@ $<
>
> $(SWIGSO): $(SWIGLOBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@
> $< -L. -lsemanage -L$(LIBDIR) $(PYTHONLIBDIR)
> -Wl,-soname,$@,-z,defs + $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@
> $< -L. -lsemanage -L$(LIBDIR) -Wl,-soname,$@
>
> $(SWIGRUBYSO): $(SWIGRUBYLOBJ) $(CC) $(CFLAGS) $(LDFLAGS) -shared
> -o $@ $^ -L. -lsemanage -L$(LIBDIR) -Wl,-soname,$@
>
> -- This message was distributed to subscribers of the selinux
> mailing list. If you no longer wish to subscribe, send mail to
> majordomo@tycho.nsa.gov with the words "unsubscribe selinux"
> without quotes as the message.
>
>
THis seems to work fine in Fedora.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9xzZMACgkQrlYvE4MpobNkvgCfZZ4Lpkm1azDTeuadZrMUyYsh
gTQAn2+dOdZDPvLxGTqynQAW3QbTKFjl
=7MIQ
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2012-03-27 14:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 14:04 [PATCH 3/4] libsemanage -- Do not link against libpython, this is considered bad in Debian Laurent Bigonville
2012-03-27 14:24 ` Daniel J Walsh [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=4F71CD93.5070108@redhat.com \
--to=dwalsh@redhat.com \
--cc=bigon@debian.org \
--cc=selinux@tycho.nsa.gov \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.