open-fcoe/open-fcoe-3.11-libHBAAPI-add-ldl.patch

30 lines
818 B
Diff

From 7c19af12660189a1980e96373b9e56f35583f07a Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Fri, 6 Dec 2013 19:58:07 +0000
Subject: [PATCH] Add '-ldl' during link
Adding '-ld' to avoid link failures of dependent
libraries / applications.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Robert Love <robert.w.love@intel.com>
---
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index ffb53b9..ab14cb2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,7 @@ lib_LTLIBRARIES = libHBAAPI.la
libHBAAPI_la_SOURCES = hbaapi.h vendorhbaapi.h
nodist_libHBAAPI_la_SOURCES = hbaapilib.c
libHBAAPI_la_LDFLAGS = -version-info 2:2:0
+libHBAAPI_la_LIBADD = -ldl
nobase_include_HEADERS = hbaapi.h vendorhbaapi.h
--
1.7.1