summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libebml/libebml-scm.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/libebml/libebml-scm.ebuild b/dev-libs/libebml/libebml-scm.ebuild
index 45c6b2c..012a4d1 100644
--- a/dev-libs/libebml/libebml-scm.ebuild
+++ b/dev-libs/libebml/libebml-scm.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit git-r3 cmake-utils
+inherit git-r3 cmake-utils flag-o-matic
DESCRIPTION="Extensible binary format library (kinda like XML)"
HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
@@ -13,7 +13,10 @@ EGIT_REPO_URI="https://github.com/Matroska-Org/libebml.git"
LICENSE="LGPL-2.1"
SLOT="0/4" # subslot = soname major version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
-#IUSE="debug static-libs"
+src_configure() {
+ append-flags -fPIC
+ cmake-utils_src_configure
+}