Package: nextepc / 0.3.10+nods-3

0003-Put-libraries-in-private-dir.patch Patch series | download
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Sat, 28 Jul 2018 18:40:25 +0000
Subject: Put libraries in private dir

---
 Makefile.am                | 2 ++
 lib/core/src/Makefile.am   | 2 ++
 lib/fd/Makefile.am         | 2 ++
 lib/gtp/Makefile.am        | 2 ++
 lib/ipfw/Makefile.am       | 2 ++
 lib/nas/Makefile.am        | 2 ++
 lib/s1ap/Makefile.am       | 2 ++
 lib/s1ap/asn1c/Makefile.am | 3 +++
 8 files changed, 17 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 0bcac5c..33a168a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,6 +24,8 @@ nextepc_pcrfd_LDADD = $(top_srcdir)/src/libpcrf.la
 dist_nextepc_epcd_SOURCES = main.c
 nextepc_epcd_LDADD = $(top_srcdir)/src/libepc.la
 
+pkglibdir = /usr/lib/nextepc
+
 AM_CPPFLAGS = \
     -I$(top_srcdir)/lib/core/include \
     -I$(top_srcdir)/src \
diff --git a/lib/core/src/Makefile.am b/lib/core/src/Makefile.am
index ea0a0a0..d5a8760 100644
--- a/lib/core/src/Makefile.am
+++ b/lib/core/src/Makefile.am
@@ -2,6 +2,8 @@
 
 pkglib_LTLIBRARIES = libcore.la
 
+pkglibdir = /usr/lib/nextepc
+
 libcore_la_SOURCES = \
 	../include/core_aes_cmac.h ../include/core_aes.h ../include/core_cond.h \
 	../include/core_debug.h ../include/core_errno.h ../include/core_file.h \
diff --git a/lib/fd/Makefile.am b/lib/fd/Makefile.am
index 4b11928..7ea37e2 100644
--- a/lib/fd/Makefile.am
+++ b/lib/fd/Makefile.am
@@ -2,6 +2,8 @@
 
 pkglib_LTLIBRARIES = libfd.la
 
+pkglibdir = /usr/lib/nextepc
+
 libfd_la_SOURCES = \
 	fd_message.h fd_logger.h fd_lib.h \
 	libapp_sip.c fd_message.c fd_logger.c fd_config.c fd_init.c \
diff --git a/lib/gtp/Makefile.am b/lib/gtp/Makefile.am
index e506819..9465199 100644
--- a/lib/gtp/Makefile.am
+++ b/lib/gtp/Makefile.am
@@ -2,6 +2,8 @@
 
 pkglib_LTLIBRARIES = libgtp.la
 
+pkglibdir = /usr/lib/nextepc
+
 libgtp_la_SOURCES = \
 	gtp_message.h gtp_types.h gtp_conv.h gtp_node.h gtp_path.h gtp_xact.h \
 	gtp_message.c gtp_types.c gtp_conv.c gtp_node.c gtp_path.c gtp_xact.c \
diff --git a/lib/ipfw/Makefile.am b/lib/ipfw/Makefile.am
index 4048223..550b16a 100644
--- a/lib/ipfw/Makefile.am
+++ b/lib/ipfw/Makefile.am
@@ -2,6 +2,8 @@
 
 pkglib_LTLIBRARIES = libipfw.la
 
+pkglibdir = /usr/lib/nextepc
+
 libipfw_la_SOURCES = \
 	ipfw2.h \
 	ipfw2.c dummynet.c ipv6.c tables.c \
diff --git a/lib/nas/Makefile.am b/lib/nas/Makefile.am
index 2247542..30d3c38 100644
--- a/lib/nas/Makefile.am
+++ b/lib/nas/Makefile.am
@@ -2,6 +2,8 @@
 
 pkglib_LTLIBRARIES = libnas.la
 
+pkglibdir = /usr/lib/nextepc
+
 libnas_la_SOURCES = \
 	nas_message.h nas_ies.h nas_types.h \
 	nas_decoder.c nas_encoder.c nas_ies.c nas_types.c \
diff --git a/lib/s1ap/Makefile.am b/lib/s1ap/Makefile.am
index 5200058..8781318 100644
--- a/lib/s1ap/Makefile.am
+++ b/lib/s1ap/Makefile.am
@@ -2,6 +2,8 @@
 
 SUBDIRS = asn1c
 
+pkglibdir = /usr/lib/nextepc
+
 pkglib_LTLIBRARIES = libs1ap.la
 
 libs1ap_la_SOURCES = \
diff --git a/lib/s1ap/asn1c/Makefile.am b/lib/s1ap/asn1c/Makefile.am
index 59e217c..c6c92af 100644
--- a/lib/s1ap/asn1c/Makefile.am
+++ b/lib/s1ap/asn1c/Makefile.am
@@ -1123,6 +1123,9 @@ ASN_MODULE_SRCS+=constr_SET_OF_oer.c
 ASN_MODULE_CFLAGS=
 
 pkglib_LTLIBRARIES=libs1apasn1c.la
+
+pkglibdir = /usr/lib/nextepc
+
 libs1apasn1c_la_SOURCES=$(ASN_MODULE_SRCS) $(ASN_MODULE_HDRS)
 
 libs1apasn1c_la_DEPENDENCIES = \