volume_id: use shared library by default

This commit is contained in:
Kay Sievers 2006-03-27 19:30:56 +02:00
parent 83cc6ab476
commit c643d61836

View file

@ -36,7 +36,11 @@ lib/libvolume_id.a:
$(PROG): %: $(HEADERS) %.o lib/libvolume_id.a
$(E) " LD " $@
ifeq ($(strip $(VOLUME_ID_STATIC)),true)
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) lib/libvolume_id.a $(LIB_OBJS)
else
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) -Llib -lvolume_id $(LIB_OBJS)
endif
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@