mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
Fix dlopening of plugins
Finit must export symbols, but plugins do not since they are modules. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
05cc6bf5d2
commit
e54c7eef65
2 files changed
+2
-1
No files matched your search
@@ -23,6 +23,7 @@ AM_CPPFLAGS = -U_FORTIFY_SOURCE
|
|||||||
AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
||||||
AM_CPPFLAGS += -DFINIT_CONF=\"$(conf)\" -DFINIT_RCSD=\"$(rcsd)\" -DFINIT_FIFO=\"$(fifo)\" \
|
AM_CPPFLAGS += -DFINIT_CONF=\"$(conf)\" -DFINIT_RCSD=\"$(rcsd)\" -DFINIT_FIFO=\"$(fifo)\" \
|
||||||
-DPLUGIN_PATH=\"$(pkglibdir)\"
|
-DPLUGIN_PATH=\"$(pkglibdir)\"
|
||||||
|
AM_LDFLAGS = -export-dynamic
|
||||||
|
|
||||||
# Slightly ugly hacks to prevent the build system from installing
|
# Slightly ugly hacks to prevent the build system from installing
|
||||||
# libuev/libite, which it does if we use the more plain SUBDIRS.
|
# libuev/libite, which it does if we use the more plain SUBDIRS.
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
AM_LDFLAGS = -module -avoid-version -shared -no-undefined -export-dynamic
|
AM_LDFLAGS = -module -avoid-version -shared
|
||||||
AM_CPPFLAGS = -U_FORTIFY_SOURCE
|
AM_CPPFLAGS = -U_FORTIFY_SOURCE
|
||||||
AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
AM_CPPFLAGS += -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
||||||
AM_CPPFLAGS += -DFINIT_FIFO=\"$(fifo)\"
|
AM_CPPFLAGS += -DFINIT_FIFO=\"$(fifo)\"
|
||||||
|
|||||||
Reference in new issue
Block a user