projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83cc6ab
)
volume_id: use shared library by default
author
Kay Sievers
<kay.sievers@suse.de>
Mon, 27 Mar 2006 17:30:56 +0000
(19:30 +0200)
committer
Kay Sievers
<kay.sievers@suse.de>
Mon, 27 Mar 2006 17:30:56 +0000
(19:30 +0200)
extras/volume_id/Makefile
patch
|
blob
|
history
diff --git
a/extras/volume_id/Makefile
b/extras/volume_id/Makefile
index
78dfd86
..
72e2d3a
100644
(file)
--- a/
extras/volume_id/Makefile
+++ b/
extras/volume_id/Makefile
@@
-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) $@