diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2010-11-02 16:31:07 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-11-04 23:24:31 +0100 |
commit | 84c944d6c36ddbdf1f64a324aa465c5b17184980 (patch) | |
tree | 2876bac940da422b1994106f329813f99753f8f5 /package/libnl/libnl-1.1-flags.patch | |
parent | 2f152f6d6dd37b8cab87c482260a8465b86381d5 (diff) | |
download | buildroot-novena-84c944d6c36ddbdf1f64a324aa465c5b17184980.tar.gz buildroot-novena-84c944d6c36ddbdf1f64a324aa465c5b17184980.zip |
libnl: fix minor memleaks, install shared library properly
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libnl/libnl-1.1-flags.patch')
-rw-r--r-- | package/libnl/libnl-1.1-flags.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/libnl/libnl-1.1-flags.patch b/package/libnl/libnl-1.1-flags.patch new file mode 100644 index 000000000..8c376dfc7 --- /dev/null +++ b/package/libnl/libnl-1.1-flags.patch @@ -0,0 +1,36 @@ +From f124a6ff6a19d5c6b6709d38dd2ffa8275abbd5f Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Mon, 18 Oct 2010 12:16:27 -0300 +Subject: [PATCH] Make libnl.so mode 0755 when installing, and respect LDFLAGS + + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + lib/Makefile | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Makefile b/lib/Makefile +index 0bf8af7..0098906 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -48,7 +48,7 @@ all: + + $(OUT_SLIB): ../Makefile.opts $(OBJ) + @echo " LD $(OUT_SLIB)"; \ +- $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc + @echo " LN $(OUT_SLIB) $(LN1_SLIB)"; \ + rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB) + @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \ +@@ -65,7 +65,7 @@ distclean: + + install: + mkdir -p $(DESTDIR)$(libdir)/ +- install -m 0644 $(OUT_SLIB) $(DESTDIR)$(libdir) ++ install -m 0755 $(OUT_SLIB) $(DESTDIR)$(libdir) + rm -f $(DESTDIR)$(libdir)/$(LN1_SLIB) + $(LN) -s $(OUT_SLIB) $(DESTDIR)$(libdir)/$(LN1_SLIB) + rm -f $(DESTDIR)$(libdir)/$(LN_SLIB) +-- +1.7.2.2 + |