Make sure libsyslog.la, incl. strlcpy.o, is built with -fPIC
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
fe3066f4c2
commit
c05956010c
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
AC_INIT([sysklogd], [2.0-beta1], [https://github.com/troglobit/sysklogd/issues],,
|
AC_INIT([sysklogd], [2.0-beta1], [https://github.com/troglobit/sysklogd/issues],,
|
||||||
[https://github.com/troglobit/sysklogd])
|
[https://github.com/troglobit/sysklogd])
|
||||||
AM_INIT_AUTOMAKE([1.11 foreign])
|
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects])
|
||||||
LT_INIT
|
LT_INIT([pic-only])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([src/syslogd.c])
|
AC_CONFIG_SRCDIR([src/syslogd.c])
|
||||||
|
1
lib/.gitignore
vendored
1
lib/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*.o
|
*.o
|
||||||
|
*.lo
|
||||||
.dirstamp
|
.dirstamp
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
AUTOMAKE_OPTIONS = subdir-objects
|
|
||||||
|
|
||||||
bin_PROGRAMS = logger
|
bin_PROGRAMS = logger
|
||||||
sbin_PROGRAMS = syslogd klogd
|
sbin_PROGRAMS = syslogd klogd
|
||||||
@ -46,4 +45,5 @@ pkgconfig_DATA = libsyslog.pc
|
|||||||
pkginclude_HEADERS = syslog.h
|
pkginclude_HEADERS = syslog.h
|
||||||
libsyslog_la_SOURCES = syslog.c syslog.h
|
libsyslog_la_SOURCES = syslog.c syslog.h
|
||||||
libsyslog_la_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600
|
libsyslog_la_CPPFLAGS = $(AM_CPPFLAGS) -D_XOPEN_SOURCE=600
|
||||||
|
libsyslog_la_LIBADD = $(LTLIBOBJS)
|
||||||
libsyslog_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0
|
libsyslog_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0
|
||||||
|
Loading…
Reference in New Issue
Block a user