summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-24 00:06:26 +0000
committermidipix <writeonce@midipix.org>2024-02-24 00:09:24 +0000
commit533c4ede8336f32de56f77778abf6d4a5b3a2996 (patch)
treeb1bce8175c6eb6152534e764154cc179ae8d4354 /configure
parentec82263821bf96bb5310fcb72ca6a8e35e30cbc4 (diff)
downloadapimagic-533c4ede8336f32de56f77778abf6d4a5b3a2996.tar.bz2
apimagic-533c4ede8336f32de56f77778abf6d4a5b3a2996.tar.xz
build system: configure: do not (potentially) change the search path semantics.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 0 insertions, 17 deletions
diff --git a/configure b/configure
index b535af1..d7daf8d 100755
--- a/configure
+++ b/configure
@@ -847,26 +847,9 @@ config_ccenv()
error_msg "${mb_pretty} forcing native mode when cross-building is strictly prohibited."
fi
- # add the include and library directories to the compiler and linker search path
- if [ "$mb_cchost" = "$mb_native_cchost" ]; then
- mb_cflags_last="$mb_cflags_last -I$mb_includedir"
- mb_ldflags_last="$mb_ldflags_last -L$mb_libdir"
- else
- case "$mb_libdir" in
- /*)
- mb_cflags_last="$mb_cflags_last -I$mb_sysroot/.$mb_includedir"
- mb_ldflags_last="$mb_ldflags_last -L$mb_sysroot/.$mb_libdir"
- ;;
- *)
- mb_cflags_last="$mb_cflags_last -I$mb_includedir"
- mb_ldflags_last="$mb_ldflags_last -L$mb_libdir"
- esac
- fi
-
# re-generate Makefile.tmp
output_section_break
config_copy
-
}
config_custom_cfgdefs()