Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Commit

Permalink
Force include non-generated fixed config file
Browse files Browse the repository at this point in the history
  • Loading branch information
zdne committed Jul 18, 2013
1 parent ab2b685 commit 41f55a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,10 @@ else:

# Include common.gypi and config.gypi
if sys.platform == 'win32':
common_fn = os.path.join(root_dir, 'common.gypi')
options_fn = os.path.join(root_dir, 'config.gypi')
else:
common_fn = os.path.join(os.path.abspath(root_dir), 'common.gypi')
options_fn = os.path.join(os.path.abspath(root_dir), 'config.gypi')

if os.path.exists(common_fn):
gyp_args.extend(['-I', common_fn])

if os.path.exists(options_fn):
gyp_args.extend(['-I', options_fn])

Expand Down
3 changes: 3 additions & 0 deletions snowcrash.gyp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"includes": [
"common.gypi"
],
'targets' : [
{
'target_name': 'sundown',
Expand Down

0 comments on commit 41f55a1

Please sign in to comment.