Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Commit

Permalink
Build: resource_directory.dll is not being used on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jan 18, 2018
1 parent 9aac92e commit cdc9cc8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions binding.gyp
Expand Up @@ -110,11 +110,6 @@
"files": [
"<(module_root_dir)/iotivity-installed/lib/octbstack.dll"
]
}, {
"destination": "<(PRODUCT_DIR)",
"files": [
"<(module_root_dir)/iotivity-installed/lib/resource_directory.dll"
]
} ]
} ]
]
Expand Down
2 changes: 0 additions & 2 deletions build-scripts/postinstall.js
Expand Up @@ -47,14 +47,12 @@ if ( !isDependency ) {
shelljs.mv( addonAbsoluteName, repoPaths.root );
if ( os.platform() === "win32" ) {
shelljs.mv( path.join( addonAbsolutePath, "octbstack.dll" ), repoPaths.root );
shelljs.mv( path.join( addonAbsolutePath, "resource_directory.dll" ), repoPaths.root );
}
shelljs.rm( "-rf", path.join( repoPaths.root, "build" ) );
shelljs.mkdir( "-p", addonAbsolutePath );
shelljs.mv( path.join( repoPaths.root, addonName ), addonAbsolutePath );
if ( os.platform() === "win32" ) {
shelljs.mv( path.join( repoPaths.root, "octbstack.dll" ), addonAbsolutePath );
shelljs.mv( path.join( repoPaths.root, "resource_directory.dll" ), addonAbsolutePath );
}

// Purge any and all files not needed after building
Expand Down

0 comments on commit cdc9cc8

Please sign in to comment.