[Title] libGL.so include dl library and pthread library.
authorfredrick.kim <fredrick.kim@samsung.com>
Tue, 29 Nov 2011 01:17:51 +0000 (10:17 +0900)
committerfredrick.kim <fredrick.kim@samsung.com>
Tue, 29 Nov 2011 01:17:51 +0000 (10:17 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause] Any application for opengles don't need to include dl and pthread library.
[Solution]
[TestCase]

Makefile.target

index 60bc4e1..e11121d 100644 (file)
@@ -398,7 +398,7 @@ opengl_server.o: opengl_server.c opengl_exec.c
 helper_opengl.o: gl_func.h
 
 $(TARGET_PATH)/libGL.so.1: opengl_client.c gl_func.h
-       $(CC) -I$(TARGET_PATH) -I. -Wall -g -O2 $< -shared -o $@
+       $(CC) -I$(TARGET_PATH) -I. -ldl -lpthread -Wall -g -O2 $< -shared -o $@
 endif
 
 # arm