Remove vlc-config
[vlc.git] / libs / loader / Makefile.am
index 9d00c27..23ce88d 100644 (file)
@@ -9,14 +9,12 @@
 # by their respective owner(s).
 #
 
 # by their respective owner(s).
 #
 
-if LOADER
 noinst_LTLIBRARIES = libloader.la
 noinst_LTLIBRARIES = libloader.la
-endif
 
 # TODO: real check for vsscanf() and <sys/mmap.h>
 AM_CPPFLAGS = -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 \
        -DWIN32_PATH=\"\" -DTRACE\(...\)=\(void\)0
 
 # TODO: real check for vsscanf() and <sys/mmap.h>
 AM_CPPFLAGS = -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 \
        -DWIN32_PATH=\"\" -DTRACE\(...\)=\(void\)0
-AM_CFLAGS = -fno-PIC `$(top_builddir)/vlc-config --cflags` -U_FILE_OFFSET_BITS \
+AM_CFLAGS = -fno-PIC -U_FILE_OFFSET_BITS \
        -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 
 noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \
        -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 
 noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \
@@ -30,5 +28,5 @@ noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \
 libloader_la_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \
        driver.c pe_resource.c resource.c registry.c afl.c vfl.c \
        wrapper.S stubs.s kludge.c
 libloader_la_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \
        driver.c pe_resource.c resource.c registry.c afl.c vfl.c \
        wrapper.S stubs.s kludge.c
-libloader_la_LIBADD = -ldl -lpthread
+libloader_la_LIBADD = -lpthread