File: makefile_dependencies.patch

package info (click to toggle)
ibutils 1.5.7%2B0.2.gbd7e502-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 45,628 kB
  • sloc: cpp: 159,551; ansic: 74,817; tcl: 13,816; sh: 13,204; makefile: 440; yacc: 333; lex: 169; awk: 53; perl: 49
file content (37 lines) | stat: -rw-r--r-- 1,296 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Adrian Bunk <bunk@debian.org>
Date: Sun, 19 Aug 2018 01:45:39 +0300
Subject: Fix the Makefile dependencies

Bug-Debian: https://bugs.debian.org/906553
---
 ibis/src/Makefile.am | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/ibis/src/Makefile.am b/ibis/src/Makefile.am
index 9e1bfa2..3efddd0 100644
--- a/ibis/src/Makefile.am
+++ b/ibis/src/Makefile.am
@@ -53,12 +53,10 @@ LIB_VER_TRIPLET="1:0:0"
 LIB_FILE_TRIPLET=1.0.0
 
 lib_LTLIBRARIES = libibis.la
-noinst_LIBRARIES = libibiscom.a
+noinst_LTLIBRARIES = libibiscom.la
 
-libibiscom_a_SOURCES = ibbbm.c ibcr.c	ibis.c ibis_gsi_mad_ctrl.c \
+libibiscom_la_SOURCES = ibbbm.c ibcr.c	ibis.c ibis_gsi_mad_ctrl.c \
 	ibpm.c ibsac.c ibsm.c ibvs.c ibcc.c
-# Below op causes renaming of the obj files - used when same source creates 2 targets (TODO: is this duplication needed ?)
-libibiscom_a_CFLAGS = $(AM_CFLAGS)
 
 # client library to be used by IBIS TCL package:
 libibis_la_SOURCES = ibis_wrap.c ibbbm.c ibcr.c	ibis.c ibis_gsi_mad_ctrl.c \
@@ -75,7 +73,7 @@ LDADD = $(OSM_LDFLAGS)
 ibis_SOURCES = ibissh_wrap.cpp
 
 # note the order of the libraries does matter as we static link
-ibis_LDADD = -L. -libiscom $(OSM_LDFLAGS) $(TCL_LIBS)
+ibis_LDADD = -L. libibiscom.la $(OSM_LDFLAGS) $(TCL_LIBS)
 
 
 # SWIG FILES: