File libHBAAPI-Add-ldl-during-link.patch of Package libHBAAPI2

From 8967c03643f999491651b9e76716d25885e165da Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Fri, 6 Dec 2013 10:03:57 +0100
Subject: [PATCH] Add '-ldl' during link

Adding '-ld' to avoid link failures of dependent
libraries / applications.

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

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.8.1.4
openSUSE Build Service is sponsored by