2012-08-01 20:01:24 +08:00
|
|
|
--- a/bin/Makefile
|
|
|
|
+++ b/bin/Makefile
|
|
|
|
@@ -13,7 +13,7 @@ install:
|
2012-06-15 04:25:57 +08:00
|
|
|
$(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR)
|
|
|
|
|
2012-08-01 20:01:24 +08:00
|
|
|
$(WRAPPER): Makefile
|
|
|
|
- echo '#!/bin/sh' > $@
|
|
|
|
+ echo '#!/usr/bin/env bash' > $@
|
|
|
|
echo '' >> $@
|
|
|
|
echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $@
|
|
|
|
echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $@
|