diff options
author | Stephen Morris <stephen@isc.org> | 2016-12-02 16:49:19 +0100 |
---|---|---|
committer | Stephen Morris <stephen@isc.org> | 2016-12-02 16:49:19 +0100 |
commit | 14a78caaf3af9fe9a0ffe2c8af784eab78e813e0 (patch) | |
tree | 0061f78669176fdf31ae4d17fe6c25834b8415ee /src/lib/hooks/hooks_user.dox | |
parent | [master] Merged trac5057 (configure vs gtest-1.8.0) (diff) | |
download | kea-14a78caaf3af9fe9a0ffe2c8af784eab78e813e0.tar.xz kea-14a78caaf3af9fe9a0ffe2c8af784eab78e813e0.zip |
[5069] Update Hooks developer documentation
In the section "Building the Library", made it clearer where the
Kea include files and libraries are located.
Diffstat (limited to '')
-rw-r--r-- | src/lib/hooks/hooks_user.dox | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/hooks/hooks_user.dox b/src/lib/hooks/hooks_user.dox index 914a4d1251..e3b081d6bb 100644 --- a/src/lib/hooks/hooks_user.dox +++ b/src/lib/hooks/hooks_user.dox @@ -754,17 +754,18 @@ command line needed to create the library using the Gnu C++ compiler on a Linux system is: @code -g++ -I /usr/include/kea -L /usr/lib/kea/lib -fpic -shared -o example.so \ +g++ -I <install-dir>/include/kea -L <install-dir>/lib -fpic -shared -o example.so \ load_unload.cc pkt4_receive.cc pkt4_send.cc version.cc \ -lkea-dhcpsrv -lkea-dhcp++ -lkea-hooks -lkea-log -lkea-util -lkea-exceptions @endcode Notes: +- Replace "<install-dir>" with the location in which you installed Kea. Unless +you specified the "--prefix" switch on the "configure" command line when +building Kea, it will be installed in the default location, usually /usr/local. - The compilation command and switches required may vary depending on your operating system and compiler - consult the relevant documentation for details. -- The values for the "-I" and "-L" switches depend on where you have -installed Kea. - The list of libraries that need to be included in the command line depends on the functionality used by the hook code and the module to which they are attached. Depending on operating system, you may also need |