SPECS: liboglappth.spec - workaround not to poison .la with -L/usr...

qboosh qboosh at pld-linux.org
Sun Jan 27 23:03:14 CET 2008


Author: qboosh                       Date: Sun Jan 27 22:03:14 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- workaround not to poison .la with -L/usr/X11R6/lib

---- Files affected:
SPECS:
   liboglappth.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/liboglappth.spec
diff -u SPECS/liboglappth.spec:1.2 SPECS/liboglappth.spec:1.3
--- SPECS/liboglappth.spec:1.2	Sun Jan 27 23:00:49 2008
+++ SPECS/liboglappth.spec	Sun Jan 27 23:03:09 2008
@@ -54,7 +54,9 @@
 
 %build
 %configure
-%{__make}
+# pass LIBS to override "-L/usr/X11R6/lib" (unwanted especially on archs using lib64)
+%{__make} \
+	LIBS="-lglut -lGLU -lGL -lm"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-01-27 22:03:09  qboosh
+- workaround not to poison .la with -L/usr/X11R6/lib
+
 Revision 1.2  2008-01-27 22:00:49  qboosh
 - added simple descs (from .pc file)
 - OpenGL deps
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/liboglappth.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list