mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Fix problem with lua recipes
* The problem I had yesterday was a missing soname for the so libraries. This make packageInstalledDevelLib silently fail.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 80ca93a71df5709617854121b54a0fcfca61f188 Mon Sep 17 00:00:00 2001
|
||||
From 5944289e129f60d26f71646bc4e3404f93de138f Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sat, 5 Oct 2013 22:01:42 +0200
|
||||
Subject: Import existing haikuport patch.
|
||||
@@ -38,7 +38,7 @@ index 6e78f66..8b8fbfc 100644
|
||||
|
||||
# Lua version and release.
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index e4a3cd6..4cfea30 100644
|
||||
index e4a3cd6..86bd1ce 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -20,9 +20,10 @@ MYLIBS=
|
||||
@@ -67,7 +67,7 @@ index e4a3cd6..4cfea30 100644
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -o $@ -shared -fPIC $(MYLDFLAGS) $? $(LIBS)
|
||||
+ $(CC) -o $@ -shared -fPIC -Wl,-soname=liblua.so.$V $(MYLDFLAGS) $? $(LIBS)
|
||||
+
|
||||
clean:
|
||||
$(RM) $(ALL_T) $(ALL_O)
|
||||
|
||||
Reference in New Issue
Block a user