Add gl4es to prepare adding basic opengl support for android. Add zoom to SDL android.
[fltk_mvc_template.git] / _template / packages / fltk1.3.4 / Makefile
index a151351..5bc168e 100644 (file)
@@ -84,7 +84,8 @@ android_arm:
        cp /usr/include/X11/cursorfont.h ../../lib_include/android_arm/X11/
        cd $(WORKDIR)/fltk-1.3.4-1; \
        make clean; \
-       ./configure CFLAGS="--sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm" CXXFLAGS="--sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm" LDFLAGS="-static-libgcc -static-libstdc++ --sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm" --enable-static  --x-includes=../../../../lib_include/android_arm --x-libraries=../../../../lib/android_arm --host=arm-linux-androideabi --enable-localjpeg --enable-localzlib --enable-localpng --disable-gl --disable-xinerama --disable-xft --disable-xdbe --disable-xfixes --disable-xcursor --disable-xrender; \
+       sed -i -e 's/ac_cv_lib_GL_glXMakeCurrent=no/ac_cv_lib_GL_glXMakeCurrent=yes/g' ./configure; \
+       ./configure CFLAGS="--sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm -I$(WORKDIR)/../../lib_include/android_arm" CXXFLAGS="--sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm -I$(WORKDIR)/../../lib_include/android_arm" LDFLAGS="-static-libgcc -static-libstdc++ --sysroot=/usr/lib/android-ndk/platforms/android-23/arch-arm -L$(WORKDIR)/../../lib/android_arm" --enable-static  --x-includes=../../../../lib_include/android_arm --x-libraries=../../../../lib/android_arm --host=arm-linux-androideabi --enable-localjpeg --enable-localzlib --enable-localpng --enable-gl --disable-xinerama --disable-xft --disable-xdbe --disable-xfixes --disable-xcursor --disable-xrender; \
        sed -i -e 's/-lX11/-lNX11 -lnano-X/g' ./makeinclude; \
        sed -i -e 's/-lX11/-lNX11 -lnano-X/g' ./fltk-config; \
        sed -i -e '/#define USE_XRANDR/ a #undef USE_XRANDR' ./src/Fl_x.cxx; \