[PATCH 62/73] libsemanage -- Do not link against libpython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9x3uEACgkQrlYvE4MpobPrUACgxgTLhub8pwXXW60BuzF16DoI
nloAoNYSHRED5MNq46wU4crieK8HPyHc
=vTXA
-----END PGP SIGNATURE-----
>From 7b11dde98b2009071c10b059d8cab8786f8a39ba Mon Sep 17 00:00:00 2001
From: Laurent Bigonville <bigon@xxxxxxxxxx>
Date: Mon, 26 Mar 2012 16:04:52 +0200
Subject: [PATCH 62/73] libsemanage -- Do not link against libpython, this is
 considered bad in Debian

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@xxxxxxxxxx>
Date: Wed, 07 Mar 2012 14:21:48 +0100

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 libsemanage/src/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile
index 5495122..101bf84 100644
--- a/libsemanage/src/Makefile
+++ b/libsemanage/src/Makefile
@@ -77,7 +77,7 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT)
 	$(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,$@
-- 
1.7.9.3


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux