File ARM_libdmraid_ldflags.diff of Package dmraid

diff -Napur _libdmraid-events//Makefile libdmraid-events/Makefile
--- _libdmraid-events//Makefile	2009-07-30 00:27:43.000000000 +0200
+++ libdmraid-events/Makefile	2009-07-30 00:27:58.000000000 +0200
@@ -27,7 +27,7 @@
 ##########################################################################
 
 CC=gcc 
-LDFLAGS +=-ldevmapper -ldevmapper-event
+LDFLAGS +=-L../lib -ldevmapper -ldevmapper-event
 INSTALL =/usr/bin/install -c
 LIB_DIR=/usr/lib
 LD_CFG=/sbin/ldconfig
@@ -39,7 +39,7 @@ GROUP =-g root
 
 
 libdmraid-events:  
-	$(CC) $@.c -ldmraid -lm -g -fPIC -Wall -shared  -Wl,-soname,$@.$(LIB_SUFFIX).$(LIB_VERSION) -o $@.$(LIB_SUFFIX).$(LIB_VERSION) 
+	$(CC) $@.c -L../lib -ldmraid -lm -g -fPIC -Wall -shared  -Wl,-soname,$@.$(LIB_SUFFIX).$(LIB_VERSION) -o $@.$(LIB_SUFFIX).$(LIB_VERSION) 
 
 install: 
 	$(INSTALL) -D $(OWNER) $(GROUP) -m 755 libdmraid-events.$(LIB_SUFFIX).$(LIB_VERSION)  \
openSUSE Build Service is sponsored by