summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tgui.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/tgui.spec b/tgui.spec
index 37f1f60..e69043b 100644
--- a/tgui.spec
+++ b/tgui.spec
@@ -58,9 +58,10 @@ Biblioteka statyczna TGUI.
%build
%{__make} -j1 \
CXX="%{__cxx}" \
- FLAGS="%{rpmcxxflags}"
+ FLAGS="%{rpmcxxflags}" \
+ LDFLAGS="%{rpmldflags}"
-%{__cxx} -shared %{name}.o -o libtgui.so
+%{__cxx} -shared %{name}.o -o libtgui.so `allegro-config --libs`
%install
rm -rf $RPM_BUILD_ROOT