2010-02-12 01:37:02 +00:00
|
|
|
=== modified file 'LVM2.2.02.43/make.tmpl.in'
|
|
|
|
--- LVM2.2.02.43/make.tmpl.in 2009-01-16 15:02:27 +0000
|
|
|
|
+++ LVM2.2.02.43/make.tmpl.in 2009-01-16 15:02:45 +0000
|
2010-02-17 03:02:24 +00:00
|
|
|
@@ -89,11 +89,9 @@
|
2010-02-12 01:37:02 +00:00
|
|
|
endif
|
2010-02-17 03:02:24 +00:00
|
|
|
|
|
|
|
LDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
|
|
|
|
-CLDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
|
|
|
|
|
2010-02-12 01:37:02 +00:00
|
|
|
ifeq ("@DMEVENTD@", "yes")
|
2010-02-17 03:02:24 +00:00
|
|
|
LDFLAGS += -L$(top_builddir)/daemons/dmeventd
|
|
|
|
- CLDFLAGS += -L$(top_builddir)/daemons/dmeventd
|
2010-02-12 01:37:02 +00:00
|
|
|
endif
|
2010-02-17 03:02:24 +00:00
|
|
|
|
2010-02-12 01:37:02 +00:00
|
|
|
ifeq ("@DM_COMPAT@", "yes")
|
|
|
|
@@ -202,18 +200,18 @@
|
|
|
|
ifeq ("@LIB_SUFFIX@","so")
|
|
|
|
$(LIB_SHARED): $(OBJECTS) $(LDDEPS)
|
2010-02-17 03:02:24 +00:00
|
|
|
$(CC) -shared -Wl,-soname,$(notdir $@).$(LIB_VERSION) \
|
|
|
|
- $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
|
|
|
+ $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
2010-02-12 01:37:02 +00:00
|
|
|
endif
|
2010-02-17 03:02:24 +00:00
|
|
|
|
2010-02-12 01:37:02 +00:00
|
|
|
ifeq ("@LIB_SUFFIX@","dylib")
|
|
|
|
$(LIB_SHARED): $(OBJECTS) $(LDDEPS)
|
2010-02-17 03:02:24 +00:00
|
|
|
$(CC) -dynamiclib -dylib_current_version,$(LIB_VERSION) \
|
|
|
|
- $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
|
|
|
+ $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
2010-02-12 01:37:02 +00:00
|
|
|
endif
|
2010-02-17 03:02:24 +00:00
|
|
|
|
2010-02-12 01:37:02 +00:00
|
|
|
%.so: %.a
|
2010-02-17 03:02:24 +00:00
|
|
|
$(CC) -shared -Wl,-soname,$(notdir $@).$(LIB_VERSION) \
|
|
|
|
- $(CFLAGS) $(CLDFLAGS) $(LIBS) -o $@ \
|
|
|
|
+ $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(LIBS) -o $@ \
|
|
|
|
@CLDWHOLEARCHIVE@ $< @CLDNOWHOLEARCHIVE@
|
|
|
|
|
2010-02-12 01:37:02 +00:00
|
|
|
$(LIB_STATIC): $(OBJECTS)
|
|
|
|
|