Skip to content

Commit 7564a98

Browse files
committed
Use pkcs11 from the git repository for build
So that pkcs11_<vendor> can be built without installing pkcs11 gem.
1 parent 9c075e2 commit 7564a98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkcs11_luna/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require 'rbconfig'
88

99
LUNA_INCLUDE_DIR = ENV['LUNA_INCLUDE_DIR'] || '/usr/safenet/lunaclient/samples/include'
1010
RUBY_PKCS11_DIR = File.expand_path('..')
11-
11+
$: << File.join(RUBY_PKCS11_DIR, "lib")
1212

1313
SHARED_FILES = [
1414
'ext/pk11_struct_macros.h',

pkcs11_protect_server/Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ require 'rbconfig'
88

99
PROTECT_SERVER_SDK_DIR = ENV['PROTECT_SERVER_SDK_DIR'] || '/opt/ETcpsdk'
1010
RUBY_PKCS11_DIR = File.expand_path('..')
11+
$: << File.join(RUBY_PKCS11_DIR, "lib")
1112

1213
SHARED_FILES = [
1314
'ext/pk11_struct_macros.h',

0 commit comments

Comments
 (0)