project_files/hwc/rtl/GL.h
Do not set rpath when binaries are installed in the standard search path
$ rpmlint hedgewars
hedgewars.i686: E: binary-or-shlib-defines-rpath /usr/bin/hwengine ['$ORIGIN/../lib/', '$ORIGIN/', '/usr/lib/']
hedgewars.i686: E: binary-or-shlib-defines-rpath /usr/lib/libphyslayer.so ['$ORIGIN/../lib/', '$ORIGIN/', '/usr/lib/']
hedgewars.i686: E: binary-or-shlib-defines-rpath /usr/bin/hedgewars ['$ORIGIN/../lib/', '$ORIGIN/', '/usr/lib/']
7991
|
1 |
#pragma once
|
|
2 |
|
|
3 |
#ifdef __APPLE__
|
|
4 |
#include <OpenGL/gl.h>
|
|
5 |
#else
|
|
6 |
#include "GL/gl.h"
|
|
7 |
#endif
|
|
8 |
|