]> git.pld-linux.org Git - packages/decopter.git/blobdiff - decopter.spec
- fix build on amd64, release 2
[packages/decopter.git] / decopter.spec
index af296aac1b2b21cf6708d6eb8ef93e83bf9980a5..a28a67c264a7446b8f49051df5cccd10de081079 100644 (file)
@@ -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
This page took 0.083717 seconds and 4 git commands to generate.