Misc packages for Arch Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

68 lines
2.0 KiB

diff -Naur pdcurses-4.1.0-orig/wincon/Makefile.mng pdcurses-4.1.0/wincon/Makefile.mng
--- pdcurses-4.1.0-orig/wincon/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
+++ pdcurses-4.1.0/wincon/Makefile.mng 2019-05-28 08:49:28.054006700 +0300
@@ -100,8 +100,9 @@
ifeq ($(DLL),Y)
CFLAGS += -DPDC_DLL_BUILD
LIBEXE = $(PREFIX)gcc
- LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
- LIBCURSES = pdcurses.dll
+ LIBARCHIVE = libpdcurses.dll.a
+ LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
+ LIBCURSES = libpdcurses.dll
LIBDEPS = $(LIBOBJS) $(PDCOBJS)
LIBSADDED =
EXELIBS =
@@ -113,7 +114,8 @@
else
LIBFLAGS = rv
endif
- LIBCURSES = pdcurses.a
+ LIBARCHIVE = libpdcurses.a
+ LIBCURSES = $(LIBARCHIVE)
LIBDEPS = $(LIBOBJS) $(PDCOBJS)
LIBSADDED =
EXELIBS =
@@ -139,7 +141,7 @@
$(LIBCURSES) : $(LIBDEPS)
$(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
- $(CP) pdcurses.a panel.a
+ $(CP) $(LIBARCHIVE) libpanel.a
$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
$(PDCOBJS) : $(PDCURSES_WIN_H)
diff -Naur pdcurses-4.1.0-orig/wingui/Makefile.mng pdcurses-4.1.0/wingui/Makefile.mng
--- pdcurses-4.1.0-orig/wingui/Makefile.mng 2019-05-09 02:27:41.000000000 +0300
+++ pdcurses-4.1.0/wingui/Makefile.mng 2019-05-28 08:48:33.963930900 +0300
@@ -98,8 +98,9 @@
ifeq ($(DLL),Y)
CFLAGS += -DPDC_DLL_BUILD
LIBEXE = $(CC)
- LIBFLAGS = -Wl,--out-implib,pdcurses.a -shared -o
- LIBCURSES = pdcurses.dll
+ LIBARCHIVE = libpdcurses.dll.a
+ LIBFLAGS = -Wl,--out-implib,$(LIBARCHIVE) -shared -o
+ LIBCURSES = libpdcurses.dll
LIBDEPS = $(LIBOBJS) $(PDCOBJS)
LIBSADDED = -lgdi32 -lcomdlg32
EXELIBS =
@@ -111,7 +112,8 @@
else
LIBFLAGS = rv
endif
- LIBCURSES = pdcurses.a
+ LIBARCHIVE = libpdcurses.a
+ LIBCURSES = $(LIBARCHIVE)
LIBDEPS = $(LIBOBJS) $(PDCOBJS)
LIBSADDED =
EXELIBS = -lgdi32 -lcomdlg32
@@ -137,7 +139,7 @@
$(LIBCURSES) : $(LIBDEPS)
$(LIBEXE) $(LIBFLAGS) $@ $? $(LIBSADDED)
- $(CP) pdcurses.a panel.a
+ $(CP) $(LIBARCHIVE) libpanel.a
$(LIBOBJS) $(PDCOBJS) : $(PDCURSES_HEADERS)
$(PDCOBJS) : $(PDCURSES_WIN_H)