Skip to contentSkip to conversation

dmraid/lib Makefile.in register/dmreg.c

PATCH [email protected] 1 participant 1 message Mar 2, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: dmraid
Changes by: [email protected] 2010-03-02 15:27:38

Modified files:
lib : Makefile.in
lib/register : dmreg.c

Log message:
Explicitely link libdmraid-events-isw.so to libpthread

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/Makefile.in.diff?cvsroot=dm&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/lib/register/dmreg.c.diff?cvsroot=dm&r1=1.1&r2=1.2

lib/Makefile.in +1 -1
@@ -72,7 +72,7 @@
 	@echo $(TARGETS) $(INSTALL_TARGETS)
 
 $(LIB_EVENTS_SHARED):
-	$(CC) events/$(LIB_EVENTS_NAME).c $(INCLUDES) $(CFLAGS) $(LDFLAGS) -shared  -Wl,-soname,$(notdir $@).$(DMRAID_LIB_VERSION) -o $@ -ldevmapper -ldevmapper-event $(LIB_SHARED)
+	$(CC) events/$(LIB_EVENTS_NAME).c $(INCLUDES) $(CFLAGS) $(LDFLAGS) -shared  -Wl,-soname,$(notdir $@).$(DMRAID_LIB_VERSION) -o $@ -ldevmapper -ldevmapper-event $(LIB_SHARED) -lpthread
 
 .PHONY: install_dmraid_libs remove_dmraid_libs
 
lib/register/dmreg.c +1 -1
@@ -475,7 +475,7 @@
 		printf("ERROR: device \"%s\" %s\n", dev_name,
 		       pending ?
 		       "has a registration event pending and "
-		       "cannot be unregistered until completed":
+		       "cannot be unregistered until completed" :
 		       "is not currently being monitored");
 		return 1;
 	}