Unverified Commit aa8bb539 authored by Grimmauld's avatar Grimmauld
Browse files

pkgs/SDL_compat: symlink package config specification file into sdl.pc

parent 63e31591
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -50,6 +50,12 @@ stdenv.mkDerivation (finalAttrs: {

  setupHook = ./setup-hook.sh;

  postInstall = ''
    # allow as a drop in replacement for SDL
    # Can be removed after treewide switch from pkg-config to pkgconf
    ln -s $out/lib/pkgconfig/sdl12_compat.pc $out/lib/pkgconfig/sdl.pc
  '';

  postFixup = ''
    for lib in $out/lib/*${stdenv.hostPlatform.extensions.sharedLibrary}* ; do
      if [[ -L "$lib" ]]; then