def searchHeaderTable(header: str, flags: list[str]) -> list[str]:
    if header == 'SDL2/SDL.h':              flags.append('-lSDL2')
    elif header == 'SDL2/SDL_image.h':      flags.append('-lSDL2_image')
    elif header == 'SDL2/SDL_ttf.h':        flags.append('-lSDL2_ttf')
    elif header == 'SDL2/SDL_mixer.h':      flags.append('-lSDL2_mixer')
    elif header == 'SDL2/SDL_net.h':        flags.append('-lSDL2_net')
    elif header == 'curl/curl.h':           flags.append('-lcurl')
    elif header == 'jansson.h':             flags.append('-ljansson')
    elif header == 'zlib.h':                flags.append('-lz')
    elif header == 'bzlib.h':               flags.append('-lbz2')
    elif header == 'lz4.h':                 flags.append('-llz4')
    elif header == 'archive.h':             flags.append('-larchive')
    elif header == 'ncurses.h':             flags.append('-lncurses')
    elif header == 'sqlite3.h':             flags.append('-lsqlite3')
    elif header == 'mysql/mysql.h':         flags.append('-lmysqlclient')
    elif header == 'mariadb/mysql.h':       flags.append('-lmariadb')
    elif header == 'pq-fe.h':               flags.append('-lpq')
    elif header == 'expat.h':               flags.append('-lexpat')
    elif header == 'png.h':                 flags.append('-lpng')
    elif header == 'jpeglib.h':             flags.append('-ljpeg')
    elif header == 'tiffio.h':              flags.append('-ltiff')
    elif header == 'portaudio.h':           flags.append('-lportaudio')
    elif header == 'alsa/asoundlib.h':      flags.append('-lasound')
    elif header == 'sndfile.h':             flags.append('-lsndfile')
    elif header == 'ao/ao.h':               flags.append('-lao')
    elif header == 'mpg123.h':              flags.append('-lmpg123')
    elif header == 'vorbis/vorbisfile.h':   flags.append('-lvorbisfile')
    elif header == 'opus/opus.h':           flags.append('-lopus')
    elif header == 'FLAC/stream_decoder.h': flags.append('-lFLAC')
    elif header == 'fftw3.h':               flags.append('-lfftw3')
    elif header == 'lapacke.h':             flags.append('-llapacke')
    elif header == 'blas.h':                flags.append('-lblas')
    elif header == 'uv.h':                  flags.append('-luv')
    elif header == 'event.h':               flags.append('-levent')
    elif header == 'pcap/pcap.h':           flags.append('-lpcap')
    elif header == 'uuid/uuid.h':           flags.append('-luuid')
    elif header == 'hidapi/hidapi.h':       flags.append('-lhidapi')
    elif header == 'bluetooth/bluetooth.h': flags.append('-lbluetooth')
    elif header == 'X11/Xlib.h':            flags.append('-lX11')
    elif header == 'png++/png.hpp':         flags.append('-lpng')
    elif header == 'math.h':                flags.append('-lm')
    elif header == 'pthread.h':             flags.append('-pthread')
    #elif header == 'gtl/gtk.h':              
    elif header == 'gtk/gtk.h':             flags.append('pkg-config --cflags --libs gtk+-3.0')
    elif header == 'glib.h':                flags.append('pkg-config --cflags --libs glib-2.0')
    elif header == 'gdk-pixbuf/gdk-pixbuf.h': flags.append('pkg-config --cflags --libs gdk-pixbuf-2.0')
    elif header == 'pango/pango.h':       flags.append('pkg-config --cflags --libs pango')
    elif header in ('yaml.h', 'libyaml/yaml.h'): flags.append('-lyaml')
    elif header in ('json-c/json.h',):      flags.append('-ljson-c')
    elif header in ('libxml/parser.h', 'libxml2/libxml/parser.h'): flags.append('-lxml2')
    elif header in ('readline/readline.h','readline/history.h'): flags.append('-lreadline')
    elif header in ('SDL2_gfxPrimitives.h', 'SDL2/SDL2_gfxPrimitives.h'): flags.append('-lSDL2_gfx')
    elif header in ('openssl/ssl.h', 'openssl/sha.h', 'openssl/evp.h'):    flags += ['-lssl', '-lcrypto']
    
    return flags
