summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2017-10-04 13:48:14 +0200
committerMichel Zou2017-10-04 13:48:14 +0200
commit52f1d0ea2314b3b841662e25c3dc255ee089e72d (patch)
tree3020885f9cce6f4272c91563917b3bb006f58ead
parent6def26be71879739eb70bc27941d7b0866591f8d (diff)
downloadaur-52f1d0ea2314b3b841662e25c3dc255ee089e72d.tar.gz
fix static lib
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04901be66509..3f54a6c45c78 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Aug 25 21:30:37 UTC 2017
+# Wed Oct 4 11:48:14 UTC 2017
pkgbase = mingw-w64-cgns
pkgdesc = Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations (mingw-w64)
pkgver = 3.3.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.cgns.org
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index fd3cf38fab16..681fcb88167d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=mingw-w64-cgns
_PKGNAME=CGNS
pkgver=3.3.1
-pkgrel=1
+pkgrel=2
pkgdesc='Standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations (mingw-w64)'
arch=('any')
url='http://www.cgns.org'
@@ -19,6 +19,9 @@ prepare(){
# https://github.com/CGNS/CGNS/pull/45
sed -i "s|#ifdef CG_BUILD_64BIT|#if 0|g" src/cgnstypes.h.in
+
+ # https://github.com/CGNS/CGNS/pull/46
+ sed -i "s|add_library(cgns_static|add_library(cgns_static STATIC|g" src/CMakeLists.txt
}
build() {