mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
depends: freebsd: don't clobber sysroot with native package install dirs
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
freebsd_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
|
||||
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
|
||||
-u LIBRARY_PATH clang --target=$(host) --sysroot=$(host_prefix)/native -iwithsysroot/usr/include
|
||||
-u LIBRARY_PATH clang --target=$(host) --sysroot=$(build_prefix)/sysroot -iwithsysroot/usr/include
|
||||
freebsd_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
|
||||
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
|
||||
-u LIBRARY_PATH clang++ --target=$(host) -stdlib=libc++ --sysroot=$(host_prefix)/native \
|
||||
-u LIBRARY_PATH clang++ --target=$(host) -stdlib=libc++ --sysroot=$(build_prefix)/sysroot \
|
||||
-iwithsysroot/usr/include/c++/v1 -iwithsysroot/usr/include
|
||||
|
||||
freebsd_AR=ar
|
||||
|
||||
@@ -14,7 +14,7 @@ endef
|
||||
# statically link our own version of OpenSSL.
|
||||
|
||||
define $(package)_stage_cmds
|
||||
mkdir $($(package)_staging_prefix_dir) &&\
|
||||
mkdir -p $($(package)_staging_prefix_dir)/sysroot &&\
|
||||
rm -rf usr/include/openssl &&\
|
||||
mv lib usr $($(package)_staging_prefix_dir)
|
||||
mv lib usr $($(package)_staging_prefix_dir)/sysroot
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user