[lxc-devel] [lxcfs/master] autotools: add -avoid-version

brauner on Github lxc-bot at linuxcontainers.org
Tue Aug 30 21:19:44 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 353 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160830/48d44f71/attachment.bin>
-------------- next part --------------
From 25f141a48cbc68524f14a66d0db8b2c0cf795ced Mon Sep 17 00:00:00 2001
From: Christian Brauner <cbrauner at suse.de>
Date: Tue, 30 Aug 2016 22:54:30 +0200
Subject: [PATCH] autotools: add -avoid-version

Signed-off-by: Christian Brauner <cbrauner at suse.de>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 444eaf5..bd2604a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,11 +13,11 @@ AM_CFLAGS += -DRUNTIME_PATH=\"$(RUNTIME_PATH)\"
 
 liblxcfs_la_SOURCES = bindings.c cpuset.c bindings.h
 liblxcfs_la_CFLAGS = $(AM_CFLAGS)
-liblxcfs_la_LDFLAGS = $(AM_CFLAGS) -module -shared
+liblxcfs_la_LDFLAGS = $(AM_CFLAGS) -module -avoid-version -shared
 
 liblxcfstest_la_SOURCES = bindings.c cpuset.c bindings.h
 liblxcfstest_la_CFLAGS = $(AM_CFLAGS) -DRELOADTEST
-liblxcfstest_la_LDFLAGS = $(AM_CFLAGS) -module -shared
+liblxcfstest_la_LDFLAGS = $(AM_CFLAGS) -module -avoid-version -shared
 
 noinst_HEADERS = bindings.h
 


More information about the lxc-devel mailing list