diff --git a/ChangeLog b/ChangeLog index 2728b7a..032d320 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Version 1.15.1 +-------------- + * Fix cgo_library for package driver info generation + Version 1.15.0 -------------- * Generate correct subrepo info for package driver (#191) diff --git a/VERSION b/VERSION index 141f2e8..ace4423 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.0 +1.15.1 diff --git a/build_defs/cgo.build_defs b/build_defs/cgo.build_defs index d7dd46f..ab5d13c 100644 --- a/build_defs/cgo.build_defs +++ b/build_defs/cgo.build_defs @@ -3,7 +3,7 @@ subinclude("///go//build_defs:go", "///cc//build_defs:c") def cgo_library(name:str, srcs:list=[], resources:list=None, go_srcs:list=[], c_srcs:list=[], hdrs:list=[], package:str=None, compiler_flags:list&cflags=[], linker_flags:list&ldflags=[], pkg_config:list=[], subdir:str='', deps:list=[], visibility:list=None, test_only:bool&testonly=False, import_path:str='', - _module:str=''): + _module:str='', _subrepo:str=''): """Generates a Go library which can be reused by other rules. Note that by its nature this is something of a hybrid of Go and C rules. It can depend @@ -52,6 +52,7 @@ def cgo_library(name:str, srcs:list=[], resources:list=None, go_srcs:list=[], c_ visibility = visibility, test_only = test_only, _module = _module, + _subrepo = _subrepo, ) file_srcs = [src for src in srcs if not src.startswith('/') and not src.startswith(':')] @@ -115,6 +116,8 @@ def cgo_library(name:str, srcs:list=[], resources:list=None, go_srcs:list=[], c_ deps = deps, _generate_import_config=False, import_path=import_path, + _subrepo = _subrepo, + _module = _module, ) output = package if package else name