Skip to content

Commit e360bfc

Browse files
committed
Adjust configure for musl
1 parent ec8da69 commit e360bfc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-10-29 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* configure: Account for linux-musl which is of course unsupported
4+
as there is no API build to work with
5+
16
2025-03-31 Dirk Eddelbuettel <edd@debian.org>
27

38
* DESCRIPTION (Version, Date): New release 0.3.16

configure

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ fi
3030
## At CRAN or R-universe we encounter nothing else.
3131
: ${R_HOME=$(R RHOME)}
3232
sysname=$(${R_HOME}/bin/Rscript -e 'cat(Sys.info()["sysname"])')
33-
if [ ${sysname} = "Linux" ]; then
33+
osname=$(${R_HOME}/bin/Rscript -e 'cat(R.version$os)')
34+
if [ ${sysname} = "Linux" ] & [ ${osname} != "linux-musl" ]; then
3435
platform="linux"
3536
elif [ ${sysname} = "Darwin" ]; then
3637
platform="osx"
3738
else
38-
echo "Unsupported platform: $sysname"
39+
echo "Unsupported platform: ${sysname} (${osname})"
3940
echo "Check https://www.bloomberg.com/professional/support/api-library/ for possible support first."
4041
echo "Contributions welcome, see https://github.com/Rblp/blp for integration with Rblapi."
4142
echo "The build will proceed but not be functional for lack of a library."

0 commit comments

Comments
 (0)