Группа :: Разработка/Прочее
Пакет: erlang
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: erlang-alt-remove-static-libz.patch
--- erts/emulator/Makefile.in.orig 2005-10-24 22:42:40 +1300
+++ erts/emulator/Makefile.in 2005-10-30 13:02:30 +1200
@@ -164,7 +164,7 @@
LIBS += -L$(ERL_TOP)/erts/obj$(TYPEMARKER)/$(TARGET) -lz
else
# Build on darwin fails if -lz is used
-LIBS += $(ERL_TOP)/erts/obj/$(TARGET)/libz.a
+LIBS += -lz
endif
ELIB_FLAGS = -DENABLE_ELIB_MALLOC -DELIB_ALLOC_IS_CLIB -DELIB_HEAP_SBRK
@@ -374,7 +374,7 @@
# ----------------------------------------------------------------------
# Pattern rules
#
-INCLUDES = -Ibeam -Isys/$(ERLANG_OSTYPE) -Isys/common -I$(TARGET) -I$(TARGET_TYPE_DIR) -Izlib -Ihipe -I../include/internal -I../include/internal/$(TARGET)
+INCLUDES = -Ibeam -Isys/$(ERLANG_OSTYPE) -Isys/common -I$(TARGET) -I$(TARGET_TYPE_DIR) -Ihipe -I../include/internal -I../include/internal/$(TARGET) -I/usr/include
ifdef PERFCTR_PATH
INCLUDES += -I$(PERFCTR_PATH)/usr.lib -I$(PERFCTR_PATH)/linux/include