X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=loader%2Fdl.c;h=4282764202e6ae8656f201b8b170ab043c05e71a;hp=468a2e0d0c2e9c6d90da33af6789a8db43213ddf;hb=499bf01c2f0e075caeb23714e3376a641c04eb7c;hpb=4d0451847a77d420284c7fb0f50b1f167c1118ee diff --git a/loader/dl.c b/loader/dl.c index 468a2e0..4282764 100644 --- a/loader/dl.c +++ b/loader/dl.c @@ -1,4 +1,9 @@ -// vim:shiftwidth=2:expandtab +/* + * GINGE - GINGE Is Not Gp2x Emulator + * (C) notaz, 2010-2011 + * + * This work is licensed under the MAME license, see COPYING file for details. + */ #define _GNU_SOURCE #include #include @@ -75,7 +80,9 @@ static void ginge_init(void) // remove self from preload, further commands (from system() and such) // will be handled by ginge_prep. unsetenv("LD_PRELOAD"); + unsetenv("LD_LIBRARY_PATH"); emu_init((void *)lowest_segment); } +// vim:shiftwidth=2:expandtab