Changeset 29801


Ignore:
Timestamp:
2012-01-19T14:20:05+01:00 (6 years ago)
Author:
jow
Message:

[packages] baresip: infer SYSROOT from cross cpp, same fix as for "re"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/baresip/Makefile

    r29791 r29801  
    8080                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    8181                EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \ 
    82                 SYSROOT="$(TOOLCHAIN_DIR)" \ 
     82                SYSROOT="$$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1)" \ 
    8383                SYSROOT_ALT="$(STAGING_DIR)/usr" \ 
    8484                RELEASE=1 \ 
Note: See TracChangeset for help on using the changeset viewer.