Skip to content

Add Make.inc bits for illumos #18

@rmustacc

Description

@rmustacc

While trying to build openspecfun on SmartOS, I found that the build failed because it was missing information in Make.inc. Specifically it needs:

diff --git a/Make.inc b/Make.inc
index 3754245..49c6d3d 100644
--- a/Make.inc
+++ b/Make.inc
@@ -108,6 +108,13 @@ override CFLAGS_add += -fPIC
 override FFLAGS_add += -fPIC
 endif

+ifeq ($(OS), SunOS)
+SHLIB_EXT = so
+SONAME_FLAG = -soname
+override CFLAGS_add += -fPIC
+override FFLAGS_add += -fPIC
+endif
+
 ifeq ($(OS), Darwin)
 SONAME_FLAG = -install_name
 SHLIB_EXT = dylib

It'd be great if that could be added and the referenced dependency in julia refer to something with this fix. I can verify that this causes the build to work correctly. I can't comment on the broader use of this with julia, as that build is still a work in progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions