Add vncrepeater, with uClibc++ linking, needs therefore testing
[openwrt-10.03/.git] / package / vncrepeater / patches / 01-uclibcxx_linking.patch
1 diff -urN vncrepeater-0.007/Makefile vncrepeater-0.007.new/Makefile
2 --- vncrepeater-0.007/Makefile  2005-10-03 20:22:48.000000000 +0200
3 +++ vncrepeater-0.007.new/Makefile      2006-04-10 16:15:50.495599944 +0200
4 @@ -1,15 +1,15 @@
5  CFLAGS=-Wall
6  repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o
7 -       g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o
8 +       $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o -nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++
9  
10  repeater.o: repeater.cpp
11 -       g++ $(CFLAGS) -c repeater.cpp
12 +       $(CC) $(CFLAGS) -c repeater.cpp
13  
14  repeaterproc.o: repeaterproc.cpp
15 -       g++ $(CFLAGS) -c repeaterproc.cpp
16 +       $(CC) $(CFLAGS) -c repeaterproc.cpp
17  
18  openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
19 -       g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
20 +       $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
21  
22  clean:
23         rm -f *.o repeater