mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
gmp/mpfr: force static linking
Patch by Maxim Grigoriev. GCC 4.3.x would link with the correct shared library versions, but without any RPATH, so it ended up looking for then in /usr/lib/ at runtime. This is less than good, as the version there might not be compatible, and even worse for distributions like Ubuntu, which doesn't install those libs by default, the build breaks. Fix it by forcing static linking instead.
This commit is contained in:
@@ -83,7 +83,7 @@ $(GMP_DIR2)/.configured: $(GMP_DIR)/.unpacked
|
||||
--prefix="$(GMP_HOST_DIR)" \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--host=$(GNU_HOST_NAME) \
|
||||
--enable-shared \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
$(DISABLE_NLS) \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user