diff options
author | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-19 03:25:40 +0100 |
---|---|---|
committer | Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-11-19 03:25:40 +0100 |
commit | dd77c8383c1a759e909ac3185160cfed6e765b9c (patch) | |
tree | ce13a44ec0e3d7e4b2c578e22a4488d66111551c /libasyncns | |
parent | 30b99053ed08eb6260b4f9fc6f39634e8953d6e5 (diff) |
Check if the linker has an option to refuse undefined references.
This ensures that hte library will be built in a way that will not
fail when --as-needed is used.
Diffstat (limited to 'libasyncns')
-rw-r--r-- | libasyncns/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libasyncns/Makefile.am b/libasyncns/Makefile.am index 40e989f..0b38163 100644 --- a/libasyncns/Makefile.am +++ b/libasyncns/Makefile.am @@ -21,7 +21,7 @@ AM_CFLAGS=-D__EXTENSIONS__ $(PTHREAD_CFLAGS) lib_LTLIBRARIES=libasyncns.la libasyncns_la_CC=$(PTHREAD_CC) libasyncns_la_SOURCES=asyncns.c asyncns.h -libasyncns_la_LDFLAGS=-version-info $(LIBASYNCNS_VERSION_INFO) +libasyncns_la_LDFLAGS=-version-info $(LIBASYNCNS_VERSION_INFO) $(LDFLAGS_NOUNDEFINED) libasyncns_la_LIBADD=$(PTHREAD_LIBS) check_PROGRAMS=asyncns-test |