added -no-undefined to makefile.am
- libtool, without -no-undefined, doesn't not build a shared library on win32.
This commit is contained in:
		| @ -5,12 +5,12 @@ AM_CPPFLAGS = -I$(top_srcdir)/include | |||||||
|  |  | ||||||
| lib_LTLIBRARIES = libaseawk.la | lib_LTLIBRARIES = libaseawk.la | ||||||
| libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h  | libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h  | ||||||
| libaseawk_la_LDFLAGS= -L../cmn -version-info 1:0:0 | libaseawk_la_LDFLAGS= -L../cmn -L../utl -version-info 1:0:0 -no-undefined | ||||||
| libaseawk_la_LIBADD= -lasecmn | libaseawk_la_LIBADD= -lasecmn -laseutl | ||||||
|  |  | ||||||
| if ENABLE_CXX | if ENABLE_CXX | ||||||
| lib_LTLIBRARIES += libaseawk++.la | lib_LTLIBRARIES += libaseawk++.la | ||||||
| libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp | libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp | ||||||
| libaseawk___la_LDFLAGS = -L. -version-info 1:0:0 | libaseawk___la_LDFLAGS = -L. -L../cmn -L../utl -version-info 1:0:0 -no-undefined | ||||||
| libaseawk___la_LIBADD = -laseawk | libaseawk___la_LIBADD = -laseawk  -lasecmn -laseutl | ||||||
| endif | endif | ||||||
|  | |||||||
| @ -219,11 +219,11 @@ AUTOMAKE_OPTIONS = nostdinc | |||||||
| AM_CPPFLAGS = -I$(top_srcdir)/include | AM_CPPFLAGS = -I$(top_srcdir)/include | ||||||
| lib_LTLIBRARIES = libaseawk.la $(am__append_1) | lib_LTLIBRARIES = libaseawk.la $(am__append_1) | ||||||
| libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h  | libaseawk_la_SOURCES = awk.c err.c tree.c parse.c run.c rec.c val.c func.c misc.c extio.c std.c awk_i.h extio.h func.h misc.h parse.h run.h tree.h  | ||||||
| libaseawk_la_LDFLAGS = -L../cmn -version-info 1:0:0 | libaseawk_la_LDFLAGS = -L../cmn -L../utl -version-info 1:0:0 -no-undefined | ||||||
| libaseawk_la_LIBADD = -lasecmn | libaseawk_la_LIBADD = -lasecmn -laseutl | ||||||
| @ENABLE_CXX_TRUE@libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp | @ENABLE_CXX_TRUE@libaseawk___la_SOURCES = Awk.cpp StdAwk.cpp | ||||||
| @ENABLE_CXX_TRUE@libaseawk___la_LDFLAGS = -L. -version-info 1:0:0 | @ENABLE_CXX_TRUE@libaseawk___la_LDFLAGS = -L. -L../cmn -L../utl -version-info 1:0:0 -no-undefined | ||||||
| @ENABLE_CXX_TRUE@libaseawk___la_LIBADD = -laseawk | @ENABLE_CXX_TRUE@libaseawk___la_LIBADD = -laseawk  -lasecmn -laseutl | ||||||
| all: all-am | all: all-am | ||||||
|  |  | ||||||
| .SUFFIXES: | .SUFFIXES: | ||||||
|  | |||||||
| @ -8,5 +8,5 @@ libasecmn_la_SOURCES = mem.h chr.h \ | |||||||
| 	lda.c map.c sll.c dll.c opt.c \ | 	lda.c map.c sll.c dll.c opt.c \ | ||||||
| 	fio.c sio.c tio.c tio_get.c tio_put.c \ | 	fio.c sio.c tio.c tio_get.c tio_put.c \ | ||||||
| 	misc.c | 	misc.c | ||||||
| libasecmn_la_LDFLAGS = -version-info 1:0:0 | libasecmn_la_LDFLAGS = -version-info 1:0:0 -no-undefined | ||||||
|  |  | ||||||
|  | |||||||
| @ -206,7 +206,7 @@ libasecmn_la_SOURCES = mem.h chr.h \ | |||||||
| 	fio.c sio.c tio.c tio_get.c tio_put.c \ | 	fio.c sio.c tio.c tio_get.c tio_put.c \ | ||||||
| 	misc.c | 	misc.c | ||||||
|  |  | ||||||
| libasecmn_la_LDFLAGS = -version-info 1:0:0 | libasecmn_la_LDFLAGS = -version-info 1:0:0 -no-undefined | ||||||
| all: all-am | all: all-am | ||||||
|  |  | ||||||
| .SUFFIXES: | .SUFFIXES: | ||||||
|  | |||||||
| @ -6,5 +6,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include | |||||||
| lib_LTLIBRARIES = libaselsp.la  | lib_LTLIBRARIES = libaselsp.la  | ||||||
|  |  | ||||||
| libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h  | libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h  | ||||||
| libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 | libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
| libaselsp_la_LIBADD = -lasecmn | libaselsp_la_LIBADD = -lasecmn | ||||||
|  | |||||||
| @ -201,7 +201,7 @@ AUTOMAKE_OPTIONS = nostdinc | |||||||
| AM_CPPFLAGS = -I$(top_srcdir)/include | AM_CPPFLAGS = -I$(top_srcdir)/include | ||||||
| lib_LTLIBRARIES = libaselsp.la  | lib_LTLIBRARIES = libaselsp.la  | ||||||
| libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h  | libaselsp_la_SOURCES = lsp.c err.c env.c eval.c mem.c mem.h misc.c name.c prim.c prim_compar.c prim.h prim_let.c prim_math.c prim_prog.c print.c read.c lsp_i.h env.h misc.h name.h obj.h  | ||||||
| libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 | libaselsp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
| libaselsp_la_LIBADD = -lasecmn | libaselsp_la_LIBADD = -lasecmn | ||||||
| all: all-am | all: all-am | ||||||
|  |  | ||||||
|  | |||||||
| @ -6,5 +6,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include | |||||||
| lib_LTLIBRARIES = libasetgp.la  | lib_LTLIBRARIES = libasetgp.la  | ||||||
|  |  | ||||||
| libasetgp_la_SOURCES = tgp.c  | libasetgp_la_SOURCES = tgp.c  | ||||||
| libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 | libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
| libasetgp_la_LIBADD = -lasecmn | libasetgp_la_LIBADD = -lasecmn | ||||||
|  | |||||||
| @ -199,7 +199,7 @@ AUTOMAKE_OPTIONS = nostdinc | |||||||
| AM_CPPFLAGS = -I$(top_srcdir)/include | AM_CPPFLAGS = -I$(top_srcdir)/include | ||||||
| lib_LTLIBRARIES = libasetgp.la  | lib_LTLIBRARIES = libasetgp.la  | ||||||
| libasetgp_la_SOURCES = tgp.c  | libasetgp_la_SOURCES = tgp.c  | ||||||
| libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 | libasetgp_la_LDFLAGS = -L../cmn -version-info 1:0:0 -no-undefined | ||||||
| libasetgp_la_LIBADD = -lasecmn | libasetgp_la_LIBADD = -lasecmn | ||||||
| all: all-am | all: all-am | ||||||
|  |  | ||||||
|  | |||||||
| @ -3,4 +3,5 @@ AM_CFLAGS = -I$(top_builddir)/include | |||||||
|  |  | ||||||
| lib_LTLIBRARIES = libaseutl.la | lib_LTLIBRARIES = libaseutl.la | ||||||
| libaseutl_la_SOURCES = assert.c http.c main.c stdio.c | libaseutl_la_SOURCES = assert.c http.c main.c stdio.c | ||||||
| libaseutl_la_LDFLAGS = -version-info 1:0:0 | libaseutl_la_LDFLAGS = -version-info 1:0:0 -no-undefined -L../cmn | ||||||
|  | libaseutl_la_LIBADD = -lasecmn | ||||||
|  | |||||||
| @ -50,7 +50,7 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; | |||||||
| am__installdirs = "$(DESTDIR)$(libdir)" | am__installdirs = "$(DESTDIR)$(libdir)" | ||||||
| libLTLIBRARIES_INSTALL = $(INSTALL) | libLTLIBRARIES_INSTALL = $(INSTALL) | ||||||
| LTLIBRARIES = $(lib_LTLIBRARIES) | LTLIBRARIES = $(lib_LTLIBRARIES) | ||||||
| libaseutl_la_LIBADD = | libaseutl_la_DEPENDENCIES = | ||||||
| am_libaseutl_la_OBJECTS = assert.lo http.lo main.lo stdio.lo | am_libaseutl_la_OBJECTS = assert.lo http.lo main.lo stdio.lo | ||||||
| libaseutl_la_OBJECTS = $(am_libaseutl_la_OBJECTS) | libaseutl_la_OBJECTS = $(am_libaseutl_la_OBJECTS) | ||||||
| libaseutl_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | libaseutl_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ | ||||||
| @ -198,7 +198,8 @@ top_srcdir = @top_srcdir@ | |||||||
| AM_CFLAGS = -I$(top_builddir)/include | AM_CFLAGS = -I$(top_builddir)/include | ||||||
| lib_LTLIBRARIES = libaseutl.la | lib_LTLIBRARIES = libaseutl.la | ||||||
| libaseutl_la_SOURCES = assert.c http.c main.c stdio.c | libaseutl_la_SOURCES = assert.c http.c main.c stdio.c | ||||||
| libaseutl_la_LDFLAGS = -version-info 1:0:0 | libaseutl_la_LDFLAGS = -version-info 1:0:0 -no-undefined -L../cmn | ||||||
|  | libaseutl_la_LIBADD = -lasecmn | ||||||
| all: all-am | all: all-am | ||||||
|  |  | ||||||
| .SUFFIXES: | .SUFFIXES: | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user