#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : check # Auteur : Nicolas "DarkHack" Chapuis (c) 2026 # ================== DARKHACK ================== # [ darkweb.fr - system online ] # Powered by Perplexity, your AI assistant # [https://www.perplexity.ai](https://www.perplexity.ai) # ============================================== # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ===================================================================== if ! type "shInclude" > /dev/null; then racine="${racine:-/etc/darkmake}" . /etc/darkcontainer/lib/shTools fi pkgConfName="glib" pkgInstallPath="lib/graphical/glib" pkgConfName="$pkgConfName"\ pkgInstallPath="$pkgInstallPath"\ . $racine/lib/autotools/pkg-config/bin/check if [ -n "$found" ];then # PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/ssl/lib/pkgconfig" # LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/ssl/lib" # LIBRARY_PATH="$LIBRARY_PATH:/usr/local/ssl/lib" # LIBS="$LIBS $PKG_LIBS" # CFLAGS="$CFLAGS $PKG_CFLAGS" "il es la???" fi if [ -d "/usr/lib/x86_64-linux-gnu" ];then usrLib="/usr/lib/x86_64-linux-gnu" elif [ -d "/usr/lib/i386-linux-gnu" ];then usrLib="/usr/lib/i386-linux-gnu" else usrLib="" fi if [ -d "/lib/x86_64-linux-gnu" ];then lib="/lib/x86_64-linux-gnu" elif [ -d "/lib/i386-linux-gnu" ];then lib="/lib/i386-linux-gnu" else lib="" fi if [ -z "$lib" ];then shDebugHidden 0 ""$log" lib empty : $lib" else shDebugHidden 1 ""$log" $lib libnss_dns.so.2 libnss_files.so.2" pLibFiles="$pLibFiles $lib/libnss_dns.so.2 $lib/libnss_files.so.2" if [ -f "$lib/libz.so.1" ];then pLibFiles="$pLibFiles $lib/libz.so.1" fi fi