misc/libphysfs/Android.mk
author Wuzzy <Wuzzy2@mail.ru>
Wed, 07 Mar 2018 15:09:31 +0100
changeset 13089 c9cdbf630447
parent 8538 0e113487c4b2
permissions -rw-r--r--
Stop SplitByChar also lowercasing the entire string. Fixes bug #581. It's weird that a function with this name would lowercase the whole string. Nemo and I have checked the history and code for any justifications of the lowercasing but we found none. I have checked in the code if anything actually depends on SplitByChar also lowercasing the string but I found nothing. It would surprise me since it's not obvious from the name IMO is bad coding practice anyway. Bug 581 is fixed by this because cLocale was (incorrectly) lowercased, which broke locale names like pt_BR to pt_br.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     1
LOCAL_PATH := $(call my-dir)
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     2
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     3
include $(CLEAR_VARS)
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     4
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     5
LOCAL_MODULE    := physfs
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     6
8538
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
     7
LOCAL_CFLAGS := -O2 -DPHYSFS_NO_CDROM_SUPPORT
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
     8
8538
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
     9
LOCAL_C_INCLUDES := $(LOCAL_PATH)
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    10
8538
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    11
LOCAL_SRC_FILES := physfs.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    12
                   physfs_byteorder.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    13
                   physfs_unicode.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    14
                   platform_posix.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    15
                   platform_unix.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    16
                   platform_macosx.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    17
                   platform_windows.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    18
                   archiver_dir.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    19
                   archiver_grp.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    20
                   archiver_hog.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    21
                   archiver_lzma.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    22
                   archiver_mvl.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    23
                   archiver_qpak.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    24
                   archiver_wad.c \
0e113487c4b2 blindly updated Android build files for new physfs
koda
parents: 8524
diff changeset
    25
                   archiver_zip.c \
8461
69bd802c28f0 Fix physfs compilation for android (still getting runtime link errors though)
Medo <smaxein@googlemail.com>
parents: 8073
diff changeset
    26
8062
abbcdf73327a allow the engine to use physfs on android too
Xeli
parents:
diff changeset
    27
include $(BUILD_SHARED_LIBRARY)