summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec')
-rw-r--r--redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec b/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec
index 9279ef5b0..d1e1f428e 100644
--- a/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec
+++ b/redhat/applications/tdeio-sword/tdeio-sword-14.0.0.spec
@@ -81,7 +81,11 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?fedora} >= 20 || 0%{?pclinuxos}
+ --with-sword-dir=%{tde_prefix}
+%endif
%__make %{?_smp_mflags}