summaryrefslogtreecommitdiffstats
path: root/graphics-libs/opencsg/opencsg-1.4.2-includepath.patch
blob: 3a7309563b96e2cd315ee6bd8ab9d1a233dd305f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* Fix build with GCC 6
* Don't hardcode libdir

Gentoo-bug: 623840

--- a/src/src.pro
+++ b/src/src.pro
@@ -7,14 +7,14 @@
 }
 
 CONFIG += opengl warn_on release
-INCLUDEPATH += ../include ../ $$INSTALLDIR/include
+INCLUDEPATH += ../include ..
 CONFIG -= qt
-LIBS += -L$$INSTALLDIR/lib -lGLEW
+LIBS += -lGLEW
 
 DESTDIR = ../lib
 headers.files = ../include/opencsg.h
 headers.path = $$INSTALLDIR/include
 target.path = $$INSTALLDIR/lib
 INSTALLS += target headers
 
 HEADERS		= ../include/opencsg.h \