Fix FTBFS with lua-5.2 (#1106672)
This commit is contained in:
parent
abc14fe59a
commit
02cbf048c3
@ -5,13 +5,13 @@
|
||||
TARGET = $(TARGETDIR)/premake4
|
||||
DEFINES += -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
||||
- INCLUDES += -I../../src/host/lua-5.1.4/src
|
||||
+ INCLUDES +=
|
||||
+ INCLUDES += -I/usr/include/lua-5.1
|
||||
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -Os
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
LDFLAGS += -s -rdynamic
|
||||
- LIBS += -lm -ldl
|
||||
+ LIBS += -lm -ldl -llua
|
||||
+ LIBS += -lm -ldl -llua-5.1
|
||||
RESFLAGS += $(DEFINES) $(INCLUDES)
|
||||
LDDEPS +=
|
||||
LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
|
||||
@ -20,13 +20,13 @@
|
||||
TARGET = $(TARGETDIR)/premake4
|
||||
DEFINES += -D_DEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
||||
- INCLUDES += -I../../src/host/lua-5.1.4/src
|
||||
+ INCLUDES +=
|
||||
+ INCLUDES += -I/usr/include/lua-5.1
|
||||
CPPFLAGS += -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
CFLAGS += $(CPPFLAGS) $(ARCH) -Wall -g
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
LDFLAGS += -rdynamic
|
||||
- LIBS += -lm -ldl
|
||||
+ LIBS += -lm -ldl -llua
|
||||
+ LIBS += -lm -ldl -llua-5.1
|
||||
RESFLAGS += $(DEFINES) $(INCLUDES)
|
||||
LDDEPS +=
|
||||
LINKCMD = $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(ARCH) $(LIBS)
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: premake
|
||||
Version: 4.3
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Cross-platform build configuration tool
|
||||
|
||||
Group: Development/Tools
|
||||
@ -12,7 +12,7 @@ Patch0: premake-4.3-system-lua.patch
|
||||
# Add the missing manpage
|
||||
Patch1: premake-4.3-manpage.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: lua-devel readline-devel
|
||||
BuildRequires: compat-lua-devel readline-devel
|
||||
|
||||
%description
|
||||
Premake is a build configuration tool that can generate project files for:
|
||||
@ -56,6 +56,9 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 26 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 4.3-9
|
||||
- Fix FTBFS with lua-5.2 (#1106672)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user