Skip to content

Commit ac58257

Browse files
committed
Strip version in .parseLinkingTo (#145)
1 parent 35b0ea0 commit ac58257

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* inst/include/Rcpp/vector/Matrix.h: Idem
66
* inst/include/Rcpp/vector/DimNameProxy.h: Idem
77

8+
2014-07-09 Kevin Ushey <kevinushey@gmail.com>
9+
10+
* R/Attributes.R: Strip version in .parseLinkingTo
11+
812
2014-07-12 Dirk Eddelbuettel <edd@debian.org>
913

1014
* inst/include/Rcpp/generated/InternalFunction__ctors.h: Regenerated

R/Attributes.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,8 @@ sourceCppFunction <- function(func, isVoid, dll, symbol) {
865865
return (character())
866866

867867
linkingTo <- strsplit(linkingTo, "\\s*\\,")[[1]]
868-
gsub("\\s", "", linkingTo)
868+
result <- gsub("\\s", "", linkingTo)
869+
gsub("\\(.*", "", result)
869870
}
870871

871872
# show diagnostics for failed builds

0 commit comments

Comments
 (0)