Renaming of corelib
This page applies to Harlequin v13.1r0 and later; and to Harlequin Core but not Harlequin MultiRIP.
The inner core of the Harlequin Core comprises a shared library (corelib.so
) or DLL (dynamic link library) (corelib.dll
) which contains the core RIP itself. To suit your preferences you are able to change the name of this component before you rebuild the test application.
On Linux, rename corelib.so
to (for example) mylib.so
, and in the Makefile change the references to corelib.so
to mylib.so
before re-building.
On macOS, rename corelib.dylib
to (for example) mylib.dylib
, and in the Makefile change the references to corelib.dylib
to mylib.dylib
before re-building.
On Windows, corelib.dll
can be renamed using the following method:
- Using a text editor, open the file
corelib.def
and change the first line from:LIBRARY corelib
to (for example)LIBRARY mylib
- Rename
corelib.def
to (for example)mylib.def
, andcorelib.dll
to (for example)mylib.dll
. - Delete the file
corelib.lib
. - Run the following command at a DOS prompt with a configured build environment:
lib /def:mylib.def
As a result the filemylib.lib
is created. - In the Makefile, change any references to
corelib.lib
tomylib.lib
, andcorelib.dll
tomylib.dll
.
When the application is re-built, the new name is used.