board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / libfreeimage / 0001-no-root-install.patch
blob54756d8e9ecbfd11c604f5c1a6bb68989044810b
1 Makefile.gnu: allow non-root install by not enforcing root ownserhip
3 Signed-off-by: Rémi Rérolle <remi.rerolle@gmail.com>
5 diff -ruN a/Makefile.gnu b/Makefile.gnu
6 --- a/Makefile.gnu 2015-04-09 16:34:02.315316841 +0200
7 +++ b/Makefile.gnu 2015-04-09 16:34:28.875483201 +0200
8 @@ -71,9 +71,9 @@
10 install:
11 install -d $(INCDIR) $(INSTALLDIR)
12 - install -m 644 -o root -g root $(HEADER) $(INCDIR)
13 - install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
14 - install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
15 + install -m 644 $(HEADER) $(INCDIR)
16 + install -m 644 $(STATICLIB) $(INSTALLDIR)
17 + install -m 755 $(SHAREDLIB) $(INSTALLDIR)
18 ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
19 ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)
20 # ldconfig