Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SYSROOT does not point to root #5

Closed
juha-h opened this issue Oct 21, 2016 · 3 comments
Closed

SYSROOT does not point to root #5

juha-h opened this issue Oct 21, 2016 · 3 comments

Comments

@juha-h
Copy link
Collaborator

juha-h commented Oct 21, 2016

I tried to add zrtp build to Makefile, but got into complications, because SYSROOT does not point to root, but to /usr:

SYSROOT := $(NDK_PATH)/platforms/$(PLATFORM)/arch-arm/usr

Would it be OK to remove /usr from the end and append /usr to where $(SYSROOT) is currently used?

-- Juha

@alfredh
Copy link
Collaborator

alfredh commented Oct 21, 2016

yeah sure that should be fine. could you please create a PR for that ?

@alfredh
Copy link
Collaborator

alfredh commented Oct 23, 2016

I have merged the PRs to master now.

@alfredh alfredh closed this as completed Oct 23, 2016
@juha-h
Copy link
Collaborator Author

juha-h commented Oct 25, 2016

Alfred E. Heggestad writes:

I have merged the PRs to master now.

Alfred,

Thanks. For some reason, I don't need these, but they don't hurt
either:

-- Juha

jh@lohi:/usr/src/orig$ diff -c -r baresip-android/Makefile baresip-android.fork/Makefile
*** baresip-android/Makefile 2016-10-23 21:11:54.447205770 +0300
--- baresip-android.fork/Makefile 2016-10-23 16:36:35.367039951 +0300


*** 47,54 ****
-I$(PWD)/opus/include_opus
-I$(PWD)/speex/include
-I$(PWD)/libzrtp/include \

  • -I$(PWD)/libzrtp/third_party/bnlib \
  • -I$(PWD)/libzrtp/third_party/bgaes
    -march=armv7-a
    -fPIE
    -DCONFIG_PATH='"$(CONFIG_PATH)"'
    --- 47,52 ----

*** 57,63 ****
-L$(PWD)/opus/.libs
-L$(PWD)/speex/libspeex/.libs
-L$(PWD)/libzrtp \

  • -L$(PWD)/libzrtp/third_party/bnlib
    -fPIE -pie
    LFLAGS += --sysroot=$(NDK_PATH)/platforms/$(PLATFORM)/arch-arm

--- 55,60 ----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants