mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Put `-export-dynamic -no-undefined' into LDFLAGS
and add the library `libguile.la' to support linkers which do not allow unresolved symbols inside shared libraries.
This commit is contained in:
parent
f9e5e096e7
commit
7ed1380067
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
## Prevent automake from adding extra -I options
|
||||
DEFS = @DEFS@
|
||||
DEFS = @DEFS@ @EXTRA_DEFS@
|
||||
## Check for headers in $(srcdir)/.., so that #include
|
||||
## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
|
||||
## building.
|
||||
|
@ -33,6 +33,8 @@ GUILE_SNARF = ../libguile/guile-snarf
|
|||
lib_LTLIBRARIES = libguilereadline.la
|
||||
|
||||
libguilereadline_la_SOURCES = readline.c
|
||||
libguilereadline_la_LDFLAGS = -export-dynamic -no-undefined
|
||||
libguilereadline_la_LIBADD = ../libguile/libguile.la
|
||||
|
||||
BUILT_SOURCES = readline.x
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue