Chromium Code Reviews| Index: samples/samples.gyp |
| diff --git a/samples/samples.gyp b/samples/samples.gyp |
| index 7023e0aec3642ebfb130343f75c59477d92fe748..b88f1f507e2a016c968910a54d8096ee066e2a24 100644 |
| --- a/samples/samples.gyp |
| +++ b/samples/samples.gyp |
| @@ -26,6 +26,7 @@ |
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| { |
| + 'includes': ['../build/common.gypi'], |
| 'target_defaults': { |
| 'type': 'executable', |
| 'dependencies': [ |
| @@ -34,6 +35,13 @@ |
| 'include_dirs': [ |
| '../include', |
| ], |
| + 'conditions': [ |
| + ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
| + 'ldflags': [ |
| + '-pthread', |
| + ]}, |
| + ], |
|
Yang
2011/08/25 11:24:03
Can this be moved into common.gypi? For example un
Jakob Kummerow
2011/08/25 14:46:08
Done.
|
| + ], |
| }, |
| 'targets': [ |
| { |