You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/media-gfx/opencsg/files/opencsg-1.4.2-includepath.p...

26 lines
537 B

* 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
+target.path = $$INSTALLDIR/$$LIBDIR
INSTALLS += target headers
HEADERS = ../include/opencsg.h \