| OLD | NEW |
| 1 { | 1 { |
| 2 'TOOLS': ['glibc'], | 2 'TOOLS': ['glibc'], |
| 3 'TARGETS': [ | 3 'TARGETS': [ |
| 4 { | 4 { |
| 5 'NAME': 'dlopen', | 5 'NAME': 'dlopen', |
| 6 'TYPE': 'main', | 6 'TYPE': 'main', |
| 7 'SOURCES': ['dlopen.cc'], | 7 'SOURCES': ['dlopen.cc'], |
| 8 'LIBS': ['dl', 'ppapi_cpp'] | 8 'LIBS': ['dl', 'ppapi_cpp', 'ppapi', 'pthread'] |
| 9 }, | 9 }, |
| 10 { | 10 { |
| 11 'NAME' : 'libeightball', | 11 'NAME' : 'libeightball', |
| 12 'TYPE' : 'so', | 12 'TYPE' : 'so', |
| 13 'SOURCES' : ['eightball.cc', 'eightball.h'], | 13 'SOURCES' : ['eightball.cc', 'eightball.h'], |
| 14 'CXXFLAGS': ['$(NACL_CXXFLAGS)', '-fPIC'], | 14 'CXXFLAGS': ['$(NACL_CXXFLAGS)', '-fPIC'], |
| 15 'LIBS' : ['ppapi_cpp'] | 15 'LIBS' : ['ppapi_cpp', 'ppapi', 'pthread'] |
| 16 } | 16 } |
| 17 ], | 17 ], |
| 18 'DEST': 'examples', | 18 'DEST': 'examples', |
| 19 'NAME': 'dlopen', | 19 'NAME': 'dlopen', |
| 20 'TITLE': 'Dynamic Library Open', | 20 'TITLE': 'Dynamic Library Open', |
| 21 'DESC': """ | 21 'DESC': """ |
| 22 The dlopen example demonstrates how build dynamic libraries and then | 22 The dlopen example demonstrates how build dynamic libraries and then |
| 23 open and use them at runtime. When the page loads, type in a question and | 23 open and use them at runtime. When the page loads, type in a question and |
| 24 hit enter or click the ASK! button. The question and answer will be | 24 hit enter or click the ASK! button. The question and answer will be |
| 25 displayed in the page under the text entry box. Shared libraries are only | 25 displayed in the page under the text entry box. Shared libraries are only |
| 26 available with the GLIBC toolchain.""", | 26 available with the GLIBC toolchain.""", |
| 27 'INFO': 'Teaching focus: Using shared objects' | 27 'INFO': 'Teaching focus: Using shared objects' |
| 28 } | 28 } |
| 29 | 29 |
| OLD | NEW |