From: undefine Date: Mon, 19 Jan 2004 02:12:25 +0000 (+0000) Subject: - fix build on amd64, release 2 X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdecopter.git;a=commitdiff_plain;h=refs%2Ftags%2FAC-STABLE - fix build on amd64, release 2 Changed files: decopter.spec -> 1.9 --- diff --git a/decopter.spec b/decopter.spec index af296aa..a28a67c 100644 --- a/decopter.spec +++ b/decopter.spec @@ -3,7 +3,7 @@ Summary: Unrealistic helicopter simulator Summary(pl): Nierealistyczny symulator helikoptera Name: decopter Version: 0.2.11 -Release: 1 +Release: 2 License: GPL Group: X11/Applications/Games Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -38,7 +38,8 @@ grywalny, mo %build %{__make} \ CXX="%{__cxx}" \ - CXXFLAGS="`sdl-config --cflags` -I/usr/X11R6/include -Wall %{rpmcflags} %{!?debug:-fomit-frame-pointer}" + CXXFLAGS="`sdl-config --cflags` -I/usr/X11R6/include -Wall %{rpmcflags} %{!?debug:-fomit-frame-pointer}" \ + LDFLAGS="`sdl-config --libs` -L%{_prefix}/X11R6/%{_lib} -lSDL_image -lGL -lGLU -lstdc++" %install rm -rf $RPM_BUILD_ROOT