From 70ae8bf26fbbac58900237b815ce86c01d09eb96 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Tue, 18 May 2010 10:22:57 -0600 Subject: progs/egl: Fix building on cygwin. Update the Makefiles to use variables such as EGL_LIB_NAME. Define M_PI if it hasn't been defined yet. --- progs/egl/openvg/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/egl/openvg') diff --git a/progs/egl/openvg/Makefile b/progs/egl/openvg/Makefile index 3b11933db2..9a96ccc45f 100644 --- a/progs/egl/openvg/Makefile +++ b/progs/egl/openvg/Makefile @@ -3,7 +3,7 @@ TOP = ../../.. include $(TOP)/configs/current -VG_LIBS=-lm -lEGL -lOpenVG -L$(TOP)/lib -L$(TOP)/lib/gallium +VG_LIBS=-lm -L$(TOP)/$(LIB_DIR) -l$(EGL_LIB) -l$(VG_LIB) INCLUDE_DIRS = -I$(TOP)/include $(X11_CFLAGS) EGLUT_DIR = $(TOP)/progs/egl/eglut -- cgit v1.2.3