Bugzilla – Bug 351893
Add VPATH support for eglib
Last modified: 2008-01-05 17:17:06 UTC
Created attachment 189449 [details] proposed patch Building Mono --with-glib=embedded using VPATH fails: /bin/sh ../../libtool --tag=CC --mode=compile gcc -arch ppc64 -DHAVE_CONFIG_H -I. -I../.. -I../../../../mono/mono/utils -I../../../../mono -I../../../../mono/mono -I../../../../mono/eglib/src -I/Users/andreas/Mono/latest64/include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT mono-ehash.lo -MD -MP -MF .deps/mono-ehash.Tpo -c -o mono-ehash.lo ../../../../mono/mono/utils/mono-ehash.c gcc -arch ppc64 -DHAVE_CONFIG_H -I. -I../.. -I../../../../mono/mono/utils -I../../../../mono -I../../../../mono/mono -I../../../../mono/eglib/src -I/Users/andreas/Mono/latest64/include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT mono-ehash.lo -MD -MP -MF .deps/mono-ehash.Tpo -c ../../../../mono/mono/utils/mono-ehash.c -fno-common -DPIC -o .libs/mono-ehash.o In file included from ../../../../mono/mono/utils/mono-ehash.c:31: ../../../../mono/eglib/src/glib.h:18:26: error: eglib-config.h: No such file or directory [...] The attached patch fixes this by adding the corresponding build dir to the search path. May I commit?
This is ok to check in.
Thanks, fixed in r92304.