[packages] lvm2: update to 2.02.64 (closes: #7291)
[openwrt/svn-archive/archive.git] / utils / lvm2 / patches / 100-readline-link.patch
1 --- a/make.tmpl.in
2 +++ b/make.tmpl.in
3 @@ -116,11 +116,9 @@ ifeq ("@INTL@", "yes")
4 endif
5
6 LDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
7 -CLDFLAGS += -L$(top_builddir)/libdm -L$(top_builddir)/lib
8
9 ifeq ("@DMEVENTD@", "yes")
10 LDFLAGS += -L$(top_builddir)/daemons/dmeventd
11 - CLDFLAGS += -L$(top_builddir)/daemons/dmeventd
12 endif
13
14 ifeq ("@DM_COMPAT@", "yes")
15 @@ -291,11 +289,11 @@ TARGETS += $(LIB_SHARED).$(LIB_VERSION)
16 $(LIB_SHARED).$(LIB_VERSION): $(OBJECTS) $(LDDEPS)
17 ifeq ("@LIB_SUFFIX@","so")
18 $(CC) -shared -Wl,-soname,$(notdir $@) \
19 - $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
20 + $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
21 endif
22 ifeq ("@LIB_SUFFIX@","dylib")
23 $(CC) -dynamiclib -dylib_current_version,$(LIB_VERSION) \
24 - $(CFLAGS) $(CLDFLAGS) $(OBJECTS) $(LIBS) -o $@
25 + $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
26 endif
27
28 $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSION)
29 @@ -313,7 +311,7 @@ endif
30
31 %.so: %.a
32 $(CC) -shared -Wl,-soname,$(notdir $@).$(LIB_VERSION) \
33 - $(CFLAGS) $(CLDFLAGS) $(LIBS) -o $@ \
34 + $(CFLAGS) $(CLDFLAGS) $(LDFLAGS) $(LIBS) -o $@ \
35 @CLDWHOLEARCHIVE@ $< @CLDNOWHOLEARCHIVE@
36
37 $(LIB_STATIC): $(OBJECTS)