aboutsummaryrefslogtreecommitdiff
path: root/core/libnl
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-06-08 23:18:11 +0300
committerCem Keylan <cem@ckyln.com>2020-06-08 23:18:11 +0300
commitcc6d24b521eca20760e4c2758737645a346908d8 (patch)
tree74f4cde101475487e6467bebd7aefa3e91b7667a /core/libnl
parentf37ca2658256f3c23ff21f47e74aa7cf3c323a52 (diff)
downloadrepository-cc6d24b521eca20760e4c2758737645a346908d8.tar.gz
libnl: build static libraries
Diffstat (limited to 'core/libnl')
-rwxr-xr-xcore/libnl/build4
-rw-r--r--core/libnl/depends1
-rw-r--r--core/libnl/version2
3 files changed, 4 insertions, 3 deletions
diff --git a/core/libnl/build b/core/libnl/build
index 105b0ee6..66821950 100755
--- a/core/libnl/build
+++ b/core/libnl/build
@@ -3,7 +3,7 @@
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --disable-static
+ --disable-shared
-make
+make LDFLAGS="$LDFLAGS -static" CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install
diff --git a/core/libnl/depends b/core/libnl/depends
new file mode 100644
index 00000000..66860bea
--- /dev/null
+++ b/core/libnl/depends
@@ -0,0 +1 @@
+libtool make
diff --git a/core/libnl/version b/core/libnl/version
index ad1efe9a..026c9823 100644
--- a/core/libnl/version
+++ b/core/libnl/version
@@ -1 +1 @@
-3.5.0 1
+3.5.0 2