Skip to content
4 changes: 2 additions & 2 deletions uploadutils/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
libuploadutil_la_SOURCES += codebigUtils.c
endif

libuploadutil_la_LDFLAGS = -shared -fPIC -lrdkloggers -lpthread $(curl_LIBS) -L$(PKG_CONFIG_SYSROOT_DIR)/usr/lib64 -lrdkconfig
libuploadutil_la_LDFLAGS = -shared -fPIC -lrdkloggers -lpthread $(curl_LIBS)
libuploadutil_la_LDFLAGS += ${top_builddir}/dwnlutils/libdwnlutil.la ${top_builddir}/utils/libfwutils.la

libuploadutil_la_include_HEADERS = uploadUtil.h \
Expand All @@ -51,5 +51,5 @@ endif

if IS_LIBRDKCERTSEL_ENABLED
libuploadutil_la_CFLAGS += $(LIBRDKCERTSEL_FLAG)
AM_LDFLAGS = -lRdkCertSelector
libuploadutil_la_LDFLAGS += -lRdkCertSelector -lrdkconfig
endif
6 changes: 3 additions & 3 deletions uploadutils/mtls_upload.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ int performMetadataPostWithCertRotation(void *curl, const char *upload_url, cons
__uploadutil_set_status(http_code, curl_ret_code);
return -1;
}

#endif
/**
* @brief Perform S3 PUT with provided certificate (Stage 2 - Public API)
*/
Expand All @@ -222,7 +222,7 @@ int performS3PutWithCert(const char *s3_url, const char *src_file, MtlsAuth_t *s
}

int result = performS3PutUpload(s3_url, src_file, sec);

if (result == 0) {
COMMONUTILITIES_INFO("%s: S3 PUT success\n", __FUNCTION__);
} else {
Expand Down Expand Up @@ -296,4 +296,4 @@ int performMetadataPostWithCertRotationEx(const char *upload_url, const char *fi
}


#endif

Loading