dmraid/ARM_libdmraid_ldflags.diff
OBS User autobuild 2300b2c114 Accepting request 16886 from Base:System
Copy from Base:System/dmraid based on submit request 16886 from user coolo

OBS-URL: https://build.opensuse.org/request/show/16886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dmraid?expand=0&rev=23
2009-08-17 12:37:49 +00:00

22 lines
897 B
Diff

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) \