dlm/dlm_stonith-link-with-ldl.patch
2012-03-21 16:12:53 -05:00

26 lines
634 B
Diff

From 470688a483678f01341f45815d7376b9002d2ebb Mon Sep 17 00:00:00 2001
From: David Teigland <teigland@redhat.com>
Date: Wed, 21 Mar 2012 16:09:01 -0500
Subject: [PATCH] dlm_stonith: link with -ldl
Signed-off-by: David Teigland <teigland@redhat.com>
---
fence/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fence/Makefile b/fence/Makefile
index c6ff2c0..41af463 100644
--- a/fence/Makefile
+++ b/fence/Makefile
@@ -35,6 +35,7 @@ BIN_CFLAGS += -I../include
BIN_LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
BIN_LDFLAGS += `xml2-config --libs`
+BIN_LDFLAGS += -ldl
all: $(BIN_TARGET)
--
1.7.6.5