Skalibs & Execline build on OS X

From: Remko Tronçon <remko_at_el-tramo.be>
Date: Thu, 26 May 2016 22:41:01 +0200

Hi,

I was trying to build skalibs and execline on OS X as an experiment, and
ran into some build problems.
The problems seem easy enough to fix, but I'm not sure if this is something
of interest to fix (since Mac
OS X isn't an obvious use case):

Skalibs:
- OS X uses .dylib instead of .so. The '.so' suffix is hardcoded in
'Makefile', so I'm guessing configure
needs to pick this up and put it in a make variable.
- OS X's linker uses '-install_name' instead of '-soname'
Changing both things in the makefile(s) makes skalib build.

Execline:
- Make fails trying to look for a dependency '-lskarnet', which it picked
up from deps.mak. I don't
understand why this works on other platforms, but as a workaround I added a
'-lskarnet: ' empty rule to
Makefile
This makes everything compile, and seemingly run as well.

thanks,
Remko
Received on Thu May 26 2016 - 20:41:01 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC