nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaad1f1
)
lib/mnit_linux: use annotations to link with libraries
author
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 3 Mar 2014 14:34:43 +0000
(09:34 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 3 Mar 2014 14:34:43 +0000
(09:34 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit_linux/linux_opengles1.nit
patch
|
blob
|
history
diff --git
a/lib/mnit_linux/linux_opengles1.nit
b/lib/mnit_linux/linux_opengles1.nit
index
e27771b
..
b88f450
100644
(file)
--- a/
lib/mnit_linux/linux_opengles1.nit
+++ b/
lib/mnit_linux/linux_opengles1.nit
@@
-14,7
+14,11
@@
# See the License for the specific language governing permissions and
# limitations under the License.
-module linux_opengles1
+module linux_opengles1 is
+ pkgconfig("glesv1_cm", "x11", "egl")
+ c_compiler_option(exec("sdl-config", "--cflags"))
+ c_linker_option(exec("sdl-config", "--libs"), "-lSDL_image -lSDL_ttf")
+end
import mnit # for
# import opengles1