let ipkg fail when a package file to be installed is not found
[openwrt/staging/wigyori.git] / openwrt / package / vncrepeater / patches / 01-uclibcxx_linking.patch
1 diff -urN vncrepeater-0.12/Makefile vncrepeater-0.12.new/Makefile
2 --- vncrepeater-0.12/Makefile 2006-03-31 07:40:14.000000000 +0200
3 +++ vncrepeater-0.12.new/Makefile 2006-04-11 10:26:06.345879104 +0200
4 @@ -1,21 +1,21 @@
5 -CFLAGS=-Wall
6 +CFLAGS=-Wall
7 repeater: repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
8 - g++ $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o
9 + $(CC) $(CFLAGS) -o repeater repeater.o repeaterproc.o openbsd_stringfuncs.o iniparser.o readini.o -nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -luClibc++
10
11 repeater.o: repeater.cpp
12 - g++ $(CFLAGS) -c repeater.cpp
13 + $(CC) $(CFLAGS) -c repeater.cpp
14
15 repeaterproc.o: repeaterproc.cpp
16 - g++ $(CFLAGS) -c repeaterproc.cpp
17 + $(CC) $(CFLAGS) -c repeaterproc.cpp
18
19 openbsd_stringfuncs.o: openbsd_stringfuncs.cpp
20 - g++ $(CFLAGS) -c openbsd_stringfuncs.cpp
21 + $(CC) $(CFLAGS) -c openbsd_stringfuncs.cpp
22
23 iniparser.o: iniparser.cpp
24 - g++ $(CFLAGS) -c iniparser.cpp
25 + $(CC) $(CFLAGS) -c iniparser.cpp
26
27 readini.o: readini.cpp
28 - g++ $(CFLAGS) -c readini.cpp
29 + $(CC) $(CFLAGS) -c readini.cpp
30
31 clean:
32 rm -f *.o repeater