SHA256
1
0
forked from pool/aegisub
aegisub/aegisub-fix_build_with_make4.3.patch
Dave Plater c1d77f34c5 Accepting request 798942 from home:alois:branches:multimedia:apps
- Update to current git version (3.2.2+git20191006)
- Add _service file
- Update changelog.txt
- Drop aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
  (fixed upstream)
- Drop aegisub-boost169.patch (merged upstream)
- Dropped aegisub-git-version.patch (handle things from the spec
  file)
- Added aegisub-fix_build_with_make4.3.patch
- Require wxWidgets 3.2
- Added aegisub-rpmlintrc
- Spec cleanup

OBS-URL: https://build.opensuse.org/request/show/798942
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=62
2020-04-29 14:30:29 +00:00

24 lines
828 B
Diff

From 6bd3f4c26b8fc1f76a8b797fcee11e7611d59a39 Mon Sep 17 00:00:00 2001
From: wangqr <wangqr@wangqr.tk>
Date: Mon, 17 Feb 2020 14:42:07 +0800
Subject: [PATCH] Use target name without directory in $*_OBJ macro
Fix Aegisub/Aegisub#171
---
Makefile.target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.target b/Makefile.target
index 516ef3c24..5c4c5d259 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -112,7 +112,7 @@ POST_FLAGS = $($@_FLAGS) -c -o $@ $<
# Libraries contain all object files they depend on (but they may depend on other files)
# Not using libtool on OS X because it has an unsilenceable warning about a
# compatibility issue with BSD 4.3 (wtf)
-lib%.a: $$($$*_OBJ)
+lib%.a: $$($$(*F)_OBJ)
@$(BIN_MKDIR_P) $(dir $@)
$(BIN_AR) cru $@ $(filter %.o,$^)
$(BIN_RANLIB) $@