Commit 51d2eb2e authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

contrib: Setting DYLD_LIBRARY_PATH is bad because it results most of the time...

contrib: Setting DYLD_LIBRARY_PATH is bad because it results most of the time in library mismatch. This is an old hack from the past which shouldn't be needed anymore.
parent faaf778a
......@@ -39,9 +39,6 @@ export PATH := $(PREFIX)/bin:$(EXTRA_PATH):$(PATH)
export PKG_CONFIG_PATH
export PKG_CONFIG_LIBDIR = $(PREFIX)/lib/pkgconfig
export DYLD_LIBRARY_PATH = $(PREFIX)/lib
# following is required for configure scripts that check dyld libraries
# by building and running a test app
export DYLD_LIBRARY_PATH := $(DYLD_LIBRARY_PATH):$(PREFIX)/vlc-lib
export MACOSX_DEPLOYMENT_TARGET = $(SDK_TARGET)
export LIBRARY_PATH := $(PREFIX)/lib:$(LIBRARY_PATH)
export CFLAGS = -I$(PREFIX)/include $(EXTRA_CFLAGS) $(EXTRA_CPPFLAGS)
......@@ -261,6 +258,24 @@ CLEAN_FILE += .autoconf
CLEAN_PKG += autoconf
DISTCLEAN_PKG += autoconf-$(AUTOCONF_VERSION).tar.bz2
# ***************************************************************************
# CMake
# ***************************************************************************
cmake-$(CMAKE_VERSION).tar.gz:
$(WGET) $(CMAKE_URL)
cmake: cmake-$(CMAKE_VERSION).tar.gz
$(EXTRACT_GZ)
.cmake: cmake
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
touch $@
CLEAN_FILE += .cmake
CLEAN_PKG += cmake
DISTCLEAN_PKG += cmake-$(CMAKE_VERSION).tar.gz
# ***************************************************************************
# libtool
# ***************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment