Corrected missing dependency
[openwrt.git] / package / vnc-reflector / patches / 01-honor_include_lib_path.patch
1 --- vnc_reflector/Makefile.orig 2005-12-14 01:25:53.000000000 +0100
2 +++ vnc_reflector/Makefile 2005-12-14 01:28:05.000000000 +0100
3 @@ -14,10 +14,11 @@
4 #
5 # Variables you might want to edit: CFLAGS, CONFFLAGS
6
7 -IFLAGS = -I.
8 +IFLAGS = -I. -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
9 +OFLAGS = -O2
10
11 # Production
12 -CFLAGS = -O2 $(IFLAGS)
13 +CFLAGS = $(OFLAGS) $(IFLAGS)
14 # Debug (strict)
15 #CFLAGS = -g -pedantic -Wall $(IFLAGS)
16 # Debug (profiling)
17 @@ -29,7 +30,7 @@
18 CONFFLAGS = -DUSE_POLL
19
20 # Link with zlib and JPEG libraries
21 -LDFLAGS = -L/usr/local/lib -lz -ljpeg
22 +LDFLAGS = -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lz -ljpeg
23
24 PROG = vncreflector
25
This page took 0.043752 seconds and 5 git commands to generate.