summaryrefslogtreecommitdiffstats
path: root/remote/setup_target
diff options
context:
space:
mode:
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-xremote/setup_target19
1 files changed, 0 insertions, 19 deletions
diff --git a/remote/setup_target b/remote/setup_target
index 9db5ba20..b783729f 100755
--- a/remote/setup_target
+++ b/remote/setup_target
@@ -355,25 +355,6 @@ post_process_target() {
rm -r "${TARGET_BUILD_DIR}/lib/systemd"
fi
- # replace ck connector with fake one
- # CAVE: On Scientific Lunux (6.4) and perhaps others:
- # If include dbus/dbus-arch-deps.h is missing (file not found) either set a symb. link:
- # /usr/include/dbus-1.0/dbus/dbus-arch-deps.h -> /usr/lib(64)/dbus-1.0/include/dbus/dbus-arch-deps.h
- # or execute "pkg-config dbus-1 --cflags".
-
- local CK_LIBS=$(find "$TARGET_BUILD_DIR" -name "libck-connector.so*")
- if [ -n "$CK_LIBS" ]; then
- pinfo "Replacing libck-connector with dummy"
- local SRC="$ROOT_DIR/remote/post-patch/ck-connector/fake-ck-connector.c"
- local BIN="$ROOT_DIR/remote/post-patch/ck-connector/libck-connector.so"
- if [ ! -s "$BIN" ]; then
- gcc -O3 -shared -o "$BIN" "-I/usr/include/dbus-1.0" "-I/usr/lib/$ARCH_TRIPLET/dbus-1.0/include" "$SRC" || perror "Compiling fake libck-connector.so failed. Make sure libdbus-1-dev is installed."
- fi
- for OCCURENCE in $CK_LIBS; do
- cp "$BIN" "$OCCURENCE" || perror "Frickeling ck-connector to $OCCURENCE failed."
- done
- fi
-
# figure out all relevant ld-paths
pinfo "Running ldconfig"
local LDTEMP="$TARGET_BUILD_DIR/ldconf-temp"