Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2818d95 authored by Kévin PETIT's avatar Kévin PETIT
Browse files

A couple of fixes



- using LDFLAGS doesn't pull the required dependencies, move
  to using LOCAL_SHARED_LIBRARIES
- eliminate 'implicit declaration' warnings

Change-Id: I57f6feca6bfcf8b2e9d439462a33c9757cdde07d
Signed-off-by: default avatarMarcus Oakland <marcus.oakland@arm.com>
Signed-off-by: default avatarKévin PETIT <kevin.petit@arm.com>
parent e9c89c81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ LOCAL_SRC_FILES := jni_egl_fence.cpp

LOCAL_SDK_VERSION := 9

LOCAL_LDFLAGS :=  -llog -lEGL
LOCAL_SHARED_LIBRARIES := liblog libEGL

LOCAL_MODULE_TAGS := optional

@@ -22,7 +22,7 @@ include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)

LOCAL_CPP_EXTENSION := .cc
LOCAL_LDFLAGS	:= -llog -ljnigraphics
LOCAL_SHARED_LIBRARIES := liblog libjnigraphics
LOCAL_SDK_VERSION := 9
LOCAL_MODULE    := libjni_filtershow_filters
LOCAL_SRC_FILES := filters/gradient.c \
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
 */

#include <math.h>
#include <stdlib.h> /* For abs */
#include "filters.h"

double fastevalPoly(double *poly,int n, double x){
+1 −2
Original line number Diff line number Diff line
@@ -12,9 +12,8 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH) \
                    $(LOCAL_PATH)/src \
                    external/jpeg

LOCAL_SHARED_LIBRARIES := libjpeg
LOCAL_SHARED_LIBRARIES := libjpeg liblog

LOCAL_LDFLAGS        := -llog
LOCAL_SDK_VERSION   := 9
LOCAL_ARM_MODE := arm