add uclibc++ (from packages)
[openwrt/svn-archive/archive.git] / package / uclibc++ / patches / 002-path_to_bash.patch
1 diff -ur old/bin/Makefile dev/bin/Makefile
2 --- old/bin/Makefile Sat Oct 14 17:49:54 2006
3 +++ dev/bin/Makefile Sat Oct 14 17:57:33 2006
4 @@ -13,7 +13,7 @@
5 $(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR)
6
7 $(WRAPPER):
8 - echo '#!/bin/sh' > $(WRAPPER)
9 + echo '#!/usr/bin/env bash' > $(WRAPPER)
10 echo '' >> $(WRAPPER)
11 echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $(WRAPPER)
12 echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $(WRAPPER)