diff options
-rw-r--r-- | src/w32api.mk | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/w32api.mk b/src/w32api.mk index 12adc71..8df0fe6 100644 --- a/src/w32api.mk +++ b/src/w32api.mk @@ -16,6 +16,19 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - $(INSTALL) -d '$(PREFIX)/$(TARGET)' + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' cp -rpv '$(1)/include' '$(1)/lib' '$(PREFIX)/$(TARGET)' + + # create pkg-config files + (echo 'Name: gl'; \ + echo 'Version: 0'; \ + echo 'Description: OpenGL'; \ + echo 'Libs: -lopengl32';) \ + > '$(PREFIX)/$(TARGET)/lib/pkgconfig/gl.pc' + + (echo 'Name: glu'; \ + echo 'Version: 0'; \ + echo 'Description: OpenGL'; \ + echo 'Libs: -lglu32';) \ + > '$(PREFIX)/$(TARGET)/lib/pkgconfig/glu.pc' endef |