summarylogtreecommitdiffstats
path: root/compat32-openssl.patch
blob: 5313bfa9eebf9ebebd1096da2a87c8989d1e8239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,0 +14 @@
+options=(staticlibs '!lto')
@@ -33 +34,3 @@
-	export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+	export CFLAGS+=" -fPIC"
+	export CXXFLAGS+=" -fPIC"
+	export PKG_CONFIG_PATH=''
@@ -38 +41 @@
-		shared enable-ktls linux-elf
+		no-shared no-apps no-legacy no-module enable-ktls linux-elf
@@ -59 +62,2 @@
-	rm -r "$pkgdir"/usr/{include,bin}
+	rm -rf "$pkgdir"/usr/bin
+	install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/lib32-openssl/LICENSE.txt"