Forked from
mcclim / clim-tos
Source project has a limited visibility.
-
Andreas Fuchs authored
Since the OS X linker hard-codes libraries into climxm.dylib, users had to install Motif in exactly the same places we had it when we built CLIM. Now, use the (OS X-only) linker flag -weak-l to link climxm.dylib weakly against these libraries, and preload them from known locations on startup (sys::*clim-library-search-path*). This means that now, users can install Motif from source (like they were used to), or through Homebrew or MacPorts, without having to to worry if CLIM will load. This change also changes the build process to no longer use make_shared.mac [64], and instead uses ld directly, and re-adds /usr/local/{lib,include} to include and library search paths.
Andreas Fuchs authoredSince the OS X linker hard-codes libraries into climxm.dylib, users had to install Motif in exactly the same places we had it when we built CLIM. Now, use the (OS X-only) linker flag -weak-l to link climxm.dylib weakly against these libraries, and preload them from known locations on startup (sys::*clim-library-search-path*). This means that now, users can install Motif from source (like they were used to), or through Homebrew or MacPorts, without having to to worry if CLIM will load. This change also changes the build process to no longer use make_shared.mac [64], and instead uses ld directly, and re-adds /usr/local/{lib,include} to include and library search paths.