1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00

Removes -rdynamic from linking of lvm.static and dmeventd.static.

This commit is contained in:
Zdenek Kabelac 2010-03-04 12:03:54 +00:00
parent f30875dbc6
commit 9f0a5c1d26
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.62 -
====================================
Remove -rdynamic from static builds.
Update check for pthread library and link it only when needed.
Define and use internal makefile variable PTHREAD_LIBS.
Update check for readline library and link it only when needed.

View File

@ -66,7 +66,7 @@ dmeventd: $(LIB_SHARED) $(VERSIONED_SHLIB) dmeventd.o
dmeventd.static: $(LIB_STATIC) dmeventd.o $(interfacebuilddir)/libdevmapper.a
$(CC) $(CFLAGS) $(LDFLAGS) -static -L. -L$(interfacebuilddir) -o $@ \
dmeventd.o $(LVMLIBS) $(LIBS) -rdynamic
dmeventd.o $(LVMLIBS) $(LIBS)
ifeq ("@PKGCONFIG@", "yes")
INSTALL_LIB_TARGETS += install_pkgconfig

View File

@ -125,8 +125,7 @@ lvm: $(OBJECTS) lvm.o $(top_builddir)/lib/liblvm-internal.a
lvm.static: $(OBJECTS) lvm-static.o $(top_builddir)/lib/liblvm-internal.a $(interfacebuilddir)/libdevmapper.a
$(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) -o $@ \
$(OBJECTS) lvm-static.o $(LVMLIBS) $(LIBS) \
-rdynamic
$(OBJECTS) lvm-static.o $(LVMLIBS) $(LIBS)
liblvm2cmd.a: $(top_builddir)/lib/liblvm-internal.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
cat $(top_builddir)/lib/liblvm-internal.a > $@