diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-08-31 14:38:36 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-08-31 14:38:36 +0000 |
commit | 49cf0622311831c61397e4f0f8ad7d3dfb7ba16a (patch) | |
tree | b6b6baf8457beb6fab685093780a09cd6b738c99 /lang/erlang | |
parent | [patch] archivers/unadf and "#define LITT_ENDIAN must exist" (diff) |
Unbreak: fix linker issue when building .so modules.
Notes
Notes:
svn path=/head/; revision=88200
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/files/patch-lib_asn1_c__src_Makefile.in | 14 | ||||
-rw-r--r-- | lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in b/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in new file mode 100644 index 000000000000..7ae33c2bc61d --- /dev/null +++ b/lang/erlang/files/patch-lib_asn1_c__src_Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/asn1/c_src/Makefile.in.orig Sun Aug 31 14:45:35 2003 ++++ lib/asn1/c_src/Makefile.in Sun Aug 31 14:45:42 2003 +@@ -131,7 +131,7 @@ + $(CC) -c $(CFLAGS) -o $(OBJ_FILES) $(C_FILES) + + $(SHARED_OBJ_FILES): $(OBJ_FILES) $(LIBDIR) +- $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) $(CLIB_FLAGS) $(LIBS) ++ $(LD) $(LDFLAGS) $(LD_INCL_EI) -o $(SHARED_OBJ_FILES) $(OBJ_FILES) $(LD_EI) + + $(LIBDIR): + -mkdir -p $(LIBDIR) diff --git a/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in b/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in new file mode 100644 index 000000000000..bb88be4c3948 --- /dev/null +++ b/lang/erlang/files/patch-lib_runtime__tools_c__src_Makefile.in @@ -0,0 +1,25 @@ + +$FreeBSD$ + +--- lib/runtime_tools/c_src/Makefile.in.orig Sun Aug 31 14:46:12 2003 ++++ lib/runtime_tools/c_src/Makefile.in Sun Aug 31 14:47:00 2003 +@@ -107,7 +107,8 @@ + ifdef soname + $(LD) $(LDFLAGS) $(soname) trace_ip_drv.so -o $@ $^ -lc $(LIBS) + else +- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) ++ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) ++ $(LD) $(LDFLAGS) -o $@ $^ + endif + + $(LIBDIR)/trace_file_drv.so: $(TRACE_FILE_DRV_OBJS) +@@ -115,7 +116,8 @@ + ifdef soname + $(LD) $(LDFLAGS) $(soname) trace_file_drv.so -o $@ $^ -lc $(LIBS) + else +- $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) ++ # $(LD) $(LDFLAGS) -o $@ $^ -lc $(LIBS) ++ $(LD) $(LDFLAGS) -o $@ $^ + endif + + $(LIBDIR)/trace_ip_drv.dll: $(TRACE_IP_DRV_OBJS) |