From patchwork Sat Nov 21 17:19:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Guido_G=C3=BCnther?= X-Patchwork-Id: 61964 Received: from hormel.redhat.com (hormel1.redhat.com [209.132.177.33]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nALHKIDg004077 for ; Sat, 21 Nov 2009 17:20:18 GMT Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110]) by hormel.redhat.com (Postfix) with ESMTP id E4DD561A43C; Sat, 21 Nov 2009 12:20:17 -0500 (EST) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (nat-pool.util.phx.redhat.com [10.8.5.200]) by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id nALHKGeQ015090 for ; Sat, 21 Nov 2009 12:20:16 -0500 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.10]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nALHKFtX019144 for ; Sat, 21 Nov 2009 12:20:15 -0500 Received: from honk.sigxcpu.org (static-87-79-238-240.netcologne.de [87.79.238.240]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nALHK1Bc013405 for ; Sat, 21 Nov 2009 12:20:02 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id E52989C003 for ; Sat, 21 Nov 2009 18:20:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NBJZ1oOWBCqd for ; Sat, 21 Nov 2009 18:20:00 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 21E1151E63; Sat, 21 Nov 2009 18:19:55 +0100 (CET) Date: Sat, 21 Nov 2009 18:19:55 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: dm-devel@redhat.com Message-ID: <20091121171955.GA15229@bogon.sigxcpu.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-RedHat-Spam-Score: -0.5 (AWL) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.10 X-loop: dm-devel@redhat.com Subject: [dm-devel] [PATCH] multipath-tools: add library dependencies X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.5 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 30 Aug 2009 14:18:21 +0200 Subject: [PATCH] add library dependencies --- libmultipath/Makefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libmultipath/Makefile b/libmultipath/Makefile index 3f2a48d..ec1ab9f 100644 --- a/libmultipath/Makefile +++ b/libmultipath/Makefile @@ -7,6 +7,7 @@ include ../Makefile.inc SONAME=0d DEVLIB = libmultipath.so LIBS = $(DEVLIB).$(SONAME) +LIBDEPS = -lpthread -ldl -ldevmapper OBJS = memory.o parser.o vector.o devmapper.o callout.o \ hwtable.o blacklist.o util.o dmparser.o config.o \ @@ -25,7 +26,7 @@ endif all: $(LIBS) $(LIBS): $(OBJS) - $(CC) $(SHARED_FLAGS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) + $(CC) $(SHARED_FLAGS) $(LIBDEPS) -Wl,-soname=$@ $(CFLAGS) -o $@ $(OBJS) ln -sf $@ $(DEVLIB) install: --