Change-Id: Ia75046455fc439a294b0aaf3ecfd51c435749c8c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
CHECK_GL_TARGET =
ifdef CONFIG_LINUX
CHECK_GL_OBJS += gloffscreen_xcomposite.o
-CHECK_GL_LDFLAGS += -lGL -lXcomposite -lXext -lglib-2.0
+#CHECK_GL_LDFLAGS += -lGL -lXcomposite -lXext -lglib-2.0
+# Fix linking error on Ubuntu 13.04
+CHECK_GL_LDFLAGS += -lGL -lXcomposite -lX11 -lXext -lglib-2.0
CHECK_GL_TARGET = check-gl
endif
ifdef CONFIG_WIN32
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
audio_possible_drivers="$audio_possible_drivers fmod"
fi
+# fix linking error on Ubuntu 13.04
+ libs_qga="-lrt $libs_qga"
;;
esac
cat > $TMPC <<EOF
#include <signal.h>
#include <time.h>
+/* Fix linking error on Ubuntu 13.04
int main(void) { return clock_gettime(CLOCK_REALTIME, NULL); }
+*/
+int main(void) { return timer_gettime(CLOCK_REALTIME, NULL); }
EOF
if compile_prog "" "" ; then