This is an empty project that provides link instructions for consumers
of the "dlfcn" on various platforms. It also provides the
MULLE_RTLD_DEFAULT define, which is what one generally wants to use when
looking up symbols with dlysm.
On Windows this will use dlfcn-win32 to supply dlsym and relatives.
| Release Version | Release Notes | AI Documentation |
|---|---|---|
| RELEASENOTES | DeepWiki for mulle-dlfcn |
This project is a component of the mulle-core library. As such you usually will not add or install it
individually, unless you specifically do not want to link against
mulle-core.
Use mulle-sde to add mulle-dlfcn to your project:
mulle-sde add github:mulle-core/mulle-dlfcnTo only add the sources of mulle-dlfcn with dependency sources use clib:
clib install --out src/mulle-core mulle-core/mulle-dlfcnAdd -isystem src/mulle-core to your CFLAGS and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install mulle-dlfcn and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/mulle-core/mulle-dlfcn/archive/latest.tar.gzInstall the requirements:
| Requirements | Description |
|---|---|
| mulle-c11 | 🔀 Cross-platform C compiler glue (and some cpp conveniences) |
| dlfcn-win32 | dlfcn-win32 |
Download the latest tar or zip archive and unpack it.
Install mulle-dlfcn into /usr/local with cmake:
PREFIX_DIR="/usr/local"
cmake -B build \
-DMULLE_SDK_PATH="${PREFIX_DIR}" \
-DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
-DCMAKE_PREFIX_PATH="${PREFIX_DIR}" \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config ReleaseNat! for Mulle kybernetiK