Skip to contentSkip to conversation

e2fsprogs: blkid.static make target

PATCH Applied Eric Sandeen 2 participants 2 messages Feb 25, 2009 – Mar 6, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 e2fsprogs: blkid.static make target

Nice for testing w/o needing to swizzle around system libraries...

---

misc/Makefile +5 -0
Index: e2fsprogs/misc/Makefile
===================================================================
@@ -370,6 +370,11 @@ blkid: $(BLKID_OBJS) $(DEPLIBBLKID) $(LI
 	@$(CC) $(ALL_LDFLAGS) -o blkid $(BLKID_OBJS) $(LIBBLKID) $(LIBINTL) \
 		$(LIBEXT2FS)
 
+blkid.static: $(BLKID_OBJS) $(STATIC_DEPLIBS) $(DEPSTATIC_LIBBLKID)
+	@echo "	LD $@"
+	@$(CC) $(ALL_LDFLAGS) -o blkid.static $(BLKID_OBJS) $(STATIC_LIBS) \
+		$(STATIC_LIBBLKID) $(LIBINTL)
+
 blkid.profiled: $(PROFILED_BLKID_OBJS) $(DEPPROFILED_LIBBLKID) \
 		$(PROFILED_LIBEXT2FS)
 	@echo "	LD $@"
Applied
#1 lore raw
Quoted 2 lines · Eric Sandeen

Nice for testing w/o needing to swizzle around system libraries...

Thanks, applied.

- Ted