aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-01-20 15:04:42 +0800
committerahze <ahze@FreeBSD.org>2005-01-20 15:04:42 +0800
commitbc5598805498d825716ab020bae99ab1a978cd35 (patch)
treea98a82de17f19a79ab7625a98520b913bc2b3636
parent16739e25d9b24f8e4c65d0dc7feda486254c890c (diff)
downloadfreebsd-ports-gnome-bc5598805498d825716ab020bae99ab1a978cd35.tar.gz
freebsd-ports-gnome-bc5598805498d825716ab020bae99ab1a978cd35.tar.zst
freebsd-ports-gnome-bc5598805498d825716ab020bae99ab1a978cd35.zip
- Link to ASM files so shared library actually works.
-rw-r--r--multimedia/x264-devel/files/patch-Makefile2
-rw-r--r--multimedia/x264/files/patch-Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/x264-devel/files/patch-Makefile b/multimedia/x264-devel/files/patch-Makefile
index 4fbd383809c4..7bd3c4d0f36a 100644
--- a/multimedia/x264-devel/files/patch-Makefile
+++ b/multimedia/x264-devel/files/patch-Makefile
@@ -29,7 +29,7 @@
$(CC) $(CFLAGS) -o x264 x264.o libx264.a -lm
+
+$(SHARED_LIB_VER): $(OBJS) x264
-+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS)
++ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS) $(OBJASM) -lm
checkasm: testing/checkasm.c libx264.a
$(CC) $(CFLAGS) -o checkasm $< libx264.a -lm
diff --git a/multimedia/x264/files/patch-Makefile b/multimedia/x264/files/patch-Makefile
index 4fbd383809c4..7bd3c4d0f36a 100644
--- a/multimedia/x264/files/patch-Makefile
+++ b/multimedia/x264/files/patch-Makefile
@@ -29,7 +29,7 @@
$(CC) $(CFLAGS) -o x264 x264.o libx264.a -lm
+
+$(SHARED_LIB_VER): $(OBJS) x264
-+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS)
++ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS) $(OBJASM) -lm
checkasm: testing/checkasm.c libx264.a
$(CC) $(CFLAGS) -o checkasm $< libx264.a -lm