SPECS: tgui.spec - fix libtgui.so making - use LDFLAGS

lisu lisu at pld-linux.org
Sat Aug 18 20:44:14 CEST 2007


Author: lisu                         Date: Sat Aug 18 18:44:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix libtgui.so making
- use LDFLAGS

---- Files affected:
SPECS:
   tgui.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/tgui.spec
diff -u SPECS/tgui.spec:1.7 SPECS/tgui.spec:1.8
--- SPECS/tgui.spec:1.7	Sat Aug 18 18:34:07 2007
+++ SPECS/tgui.spec	Sat Aug 18 20:44:09 2007
@@ -59,9 +59,10 @@
 %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
@@ -94,6 +95,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2007/08/18 18:44:09  lisu
+- fix libtgui.so making
+- use LDFLAGS
+
 Revision 1.7  2007/08/18 16:34:07  shadzik
 - only 1 job at a time is allowed, won't build with no limitations
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tgui.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list