SHA256
1
0
forked from pool/mstflint
mstflint/mstfint-mtcr_ul_no_static_lib.patch

43 lines
1.5 KiB
Diff
Raw Normal View History

---
configure.ac | 2 +-
mtcr_ul/Makefile.am | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2014-07-24 11:34:24.103802523 +0200
+++ configure.ac 2014-07-24 11:46:03.279061630 +0200
@@ -15,7 +15,7 @@ AM_INIT_AUTOMAKE([-Wall foreign])
dnl Checks for programs
AC_PROG_CC()
AC_PROG_CXX()
-AC_PROG_LIBTOOL()
+LT_INIT([disable_static])
AC_CONFIG_HEADERS([config.h])
AC_MSG_CHECKING(--enable-dc argument)
Index: mtcr_ul/Makefile.am
===================================================================
--- mtcr_ul/Makefile.am.orig 2014-04-10 15:37:32.000000000 +0200
+++ mtcr_ul/Makefile.am 2014-07-24 11:44:06.767518224 +0200
@@ -33,13 +33,13 @@
# Makefile.am -- Process this file with automake to produce Makefile.in
INCLUDES = -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common
-lib_LIBRARIES = libmtcr_ul.a
+lib_LTLIBRARIES = libmtcr_ul.la
-libmtcr_ul_a_SOURCES = mtcr_ul.c mtcr_ib.h mtcr_int_defs.h\
- mtcr_tools_cif.c mtcr_tools_cif.h\
- packets_common.c packets_common.h\
- packets_layout.c packets_layout.h
-libmtcr_ul_a_CFLAGS = -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL
+libmtcr_la_SOURCES = mtcr_ul.c mtcr_ib.h mtcr_int_defs.h\
+ mtcr_tools_cif.c mtcr_tools_cif.h\
+ packets_common.c packets_common.h\
+ packets_layout.c packets_layout.h
+libmtcr_la_CFLAGS = -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL
if ENABLE_INBAND
libmtcr_ul_a_SOURCES += mtcr_ib_ofed.c