Lines 192-197
Link Here
|
192 |
include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ] |
192 |
include_dirs += [ '../libraries/' + system_str + '/include/atk-1.0' ] |
193 |
include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ] |
193 |
include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ] |
194 |
include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ] |
194 |
include_dirs += [ '../libraries/' + system_str + '/include/llfreetype2' ] |
|
|
195 |
pipe = os.popen('pkg-config gtk+-2.0 --cflags') |
196 |
flags += pipe.read().rstrip('\n') + ' ' |
197 |
pipe.close() |
198 |
pipe = os.popen('freetype-config --cflags') |
199 |
flags += pipe.read().rstrip('\n') + ' ' |
200 |
pipe.close() |
195 |
|
201 |
|
196 |
# llmozlib stuff |
202 |
# llmozlib stuff |
197 |
if enable_mozlib == 'yes': |
203 |
if enable_mozlib == 'yes': |
Lines 207-213
Link Here
|
207 |
### Build type-specific flags ### |
213 |
### Build type-specific flags ### |
208 |
|
214 |
|
209 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
215 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
210 |
release_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 ' |
216 |
release_opts = flags + '-DNDEBUG -DLL_RELEASE=1 ' |
211 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
217 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
212 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
218 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
213 |
|
219 |
|